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
35d05537
Commit
35d05537
authored
Jun 24, 2013
by
Richard Oudkerk
Browse files
Options
Browse Files
Download
Plain Diff
Issue #18277: Merge.
parents
b3cc7eb7
95fe1a79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+17
-0
No files found.
Doc/library/multiprocessing.rst
View file @
35d05537
...
@@ -515,6 +515,23 @@ Note that one can also create a shared queue by using a manager object -- see
...
@@ -515,6 +515,23 @@ Note that one can also create a shared queue by using a manager object -- see
the
:
mod
:`
multiprocessing
`
namespace
so
you
need
to
import
them
from
the
:
mod
:`
multiprocessing
`
namespace
so
you
need
to
import
them
from
:
mod
:`
queue
`.
:
mod
:`
queue
`.
..
note
::
When
an
object
is
put
on
a
queue
,
the
object
is
pickled
and
a
background
thread
later
flushes
the
pickled
data
to
an
underlying
pipe
.
This
has
some
consequences
which
are
a
little
surprising
,
but
should
not
cause
any
pratical
difficulties
--
you
can
always
use
a
managed
queue
if
they
really
bother
you
.
(
1
)
After
putting
an
object
on
an
empty
queue
there
may
be
an
infinitessimal
delay
before
the
queue
's :meth:`~Queue.empty`
method returns :const:`False` and :meth:`~Queue.get_nowait` can
return without raising :exc:`Queue.Empty`.
(2) If multiple processes are enqueuing objects, it is possible for
the objects to be received at the other end out-of-order.
However, objects enqueued by the same process will always be in
the expected order with respect to each other.
.. warning::
.. warning::
...
...
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