Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f51ebf94
Commit
f51ebf94
authored
Feb 04, 2012
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threading primitives now have timeouts
parent
992ca527
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+0
-8
No files found.
Doc/library/multiprocessing.rst
View file @
f51ebf94
...
@@ -876,14 +876,6 @@ object -- see :ref:`multiprocessing-managers`.
...
@@ -876,14 +876,6 @@ object -- see :ref:`multiprocessing-managers`.
..
note
::
..
note
::
The
:
meth
:`
acquire
`
method
of
:
class
:`
BoundedSemaphore
`,
:
class
:`
Lock
`,
:
class
:`
RLock
`
and
:
class
:`
Semaphore
`
has
a
timeout
parameter
not
supported
by
the
equivalents
in
:
mod
:`
threading
`.
The
signature
is
``
acquire
(
block
=
True
,
timeout
=
None
)``
with
keyword
parameters
being
acceptable
.
If
*
block
*
is
``
True
``
and
*
timeout
*
is
not
``
None
``
then
it
specifies
a
timeout
in
seconds
.
If
*
block
*
is
``
False
``
then
*
timeout
*
is
ignored
.
On
Mac
OS
X
,
``
sem_timedwait
``
is
unsupported
,
so
calling
``
acquire
()``
with
On
Mac
OS
X
,
``
sem_timedwait
``
is
unsupported
,
so
calling
``
acquire
()``
with
a
timeout
will
emulate
that
function
's behavior using a sleeping loop.
a
timeout
will
emulate
that
function
's behavior using a sleeping loop.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment