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
042d6a4f
Commit
042d6a4f
authored
May 21, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct info for Semaphore.acquire() semantics under OSX.
parent
26da1871
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+3
-4
No files found.
Doc/library/multiprocessing.rst
View file @
042d6a4f
...
...
@@ -839,7 +839,7 @@ object -- see :ref:`multiprocessing-managers`.
A
bounded
semaphore
object
:
a
clone
of
:
class
:`
threading
.
BoundedSemaphore
`.
(
On
Mac
OS
X
this
is
indistinguishable
from
:
class
:`
Semaphore
`
because
(
On
Mac
OS
X
,
this
is
indistinguishable
from
:
class
:`
Semaphore
`
because
``
sem_getvalue
()``
is
not
implemented
on
that
platform
).
..
class
::
Condition
([
lock
])
...
...
@@ -881,9 +881,8 @@ object -- see :ref:`multiprocessing-managers`.
specifies
a
timeout
in
seconds
.
If
*
block
*
is
``
False
``
then
*
timeout
*
is
ignored
.
..
note
::
On
OS
/
X
``
sem_timedwait
``
is
unsupported
,
so
timeout
arguments
for
the
aforementioned
:
meth
:`
acquire
`
methods
will
be
ignored
on
OS
/
X
.
On
Mac
OS
X
,
``
sem_timedwait
``
is
unsupported
,
so
calling
``
acquire
()``
with
a
timeout
will
emulate
that
function
's behavior using a sleeping loop.
.. note::
...
...
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