diff options
author | Charles-François Natali <neologix@free.fr> | 2012-04-17 16:45:57 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2012-04-17 16:45:57 (GMT) |
commit | c8ce715a82fd8034ef1d809b262346c15f2490c4 (patch) | |
tree | 125522b5a5daa37ba405f81902aeebe8d91b6c7f /Doc | |
parent | a3f4457b172a165fafa65d67e0293f89dbba06b7 (diff) | |
download | cpython-c8ce715a82fd8034ef1d809b262346c15f2490c4.zip cpython-c8ce715a82fd8034ef1d809b262346c15f2490c4.tar.gz cpython-c8ce715a82fd8034ef1d809b262346c15f2490c4.tar.bz2 |
Issue #14087: multiprocessing: add Condition.wait_for(). Patch by sbt.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 1c7b9b9..b9dfd19 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -897,6 +897,9 @@ object -- see :ref:`multiprocessing-managers`. If *lock* is specified then it should be a :class:`Lock` or :class:`RLock` object from :mod:`multiprocessing`. + .. versionchanged:: 3.3 + The :meth:`wait_for` method was added. + .. class:: Event() A clone of :class:`threading.Event`. @@ -1281,6 +1284,9 @@ their parent process exits. The manager classes are defined in the If *lock* is supplied then it should be a proxy for a :class:`threading.Lock` or :class:`threading.RLock` object. + .. versionchanged:: 3.3 + The :meth:`wait_for` method was added. + .. method:: Event() Create a shared :class:`threading.Event` object and return a proxy for it. |