diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2014-05-25 13:12:12 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2014-05-25 13:12:12 (GMT) |
commit | a924fc7abc2d8788a4a9fa2cbef2caa5c5992ebd (patch) | |
tree | cb29ab708c0a0c1f8ea51d20cdc7dbdd19a77046 /Doc/library/multiprocessing.rst | |
parent | 1691e35953858ae06b5198bf12c72a6cd0e0234b (diff) | |
download | cpython-a924fc7abc2d8788a4a9fa2cbef2caa5c5992ebd.zip cpython-a924fc7abc2d8788a4a9fa2cbef2caa5c5992ebd.tar.gz cpython-a924fc7abc2d8788a4a9fa2cbef2caa5c5992ebd.tar.bz2 |
Issue #21565: multiprocessing: use contex-manager protocol for synchronization
primitives.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 5fac730..409b2cb 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1320,6 +1320,9 @@ processes. Note that accessing the ctypes object through the wrapper can be a lot slower than accessing the raw ctypes object. + .. versionchanged:: 3.5 + Synchronized objects support the :term:`context manager` protocol. + The table below compares the syntax for creating shared ctypes objects from shared memory with the normal ctypes syntax. (In the table ``MyStruct`` is some |