From e5fe67432746e12328a2da70b9133f83097873eb Mon Sep 17 00:00:00 2001 From: pan324 <103143968+pan324@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:11:35 +0200 Subject: [PATCH] Update Doc/library/multiprocessing.shared_memory.rst Co-authored-by: Antoine Pitrou --- Doc/library/multiprocessing.shared_memory.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/multiprocessing.shared_memory.rst b/Doc/library/multiprocessing.shared_memory.rst index e6b6dab3c237f3..febabe1210b26c 100644 --- a/Doc/library/multiprocessing.shared_memory.rst +++ b/Doc/library/multiprocessing.shared_memory.rst @@ -92,7 +92,8 @@ copying of data. .. method:: unlink() Deletes the underlying shared memory block. This should be called only - once per shared memory block regardless of the number of handles to it. + once per shared memory block regardless of the number of handles to it, + even in other processes. :meth:`unlink()` and :meth:`close()` can be called in any order, but trying to access data inside a shared memory block after :meth:`unlink()` may result in memory access errors, depending on platform.