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
19cc944e
Commit
19cc944e
authored
Oct 16, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
part of #4012: kill off old name "processing".
parent
87e6ad29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+5
-5
No files found.
Doc/library/multiprocessing.rst
View file @
19cc944e
...
@@ -378,8 +378,8 @@ The :mod:`multiprocessing` package mostly replicates the API of the
...
@@ -378,8 +378,8 @@ The :mod:`multiprocessing` package mostly replicates the API of the
Example usage of some of the methods of :class:`Process`::
Example usage of some of the methods of :class:`Process`::
>>> import processing, time, signal
>>> import
multi
processing, time, signal
>>> p = processing.Process(target=time.sleep, args=(1000,))
>>> p =
multi
processing.Process(target=time.sleep, args=(1000,))
>>> print p, p.is_alive()
>>> print p, p.is_alive()
<Process(Process-1, initial)> False
<Process(Process-1, initial)> False
>>> p.start()
>>> p.start()
...
@@ -1781,12 +1781,12 @@ handler type) for messages from different processes to get mixed up.
...
@@ -1781,12 +1781,12 @@ handler type) for messages from different processes to get mixed up.
Below is an example session with logging turned on::
Below is an example session with logging turned on::
>>> import processing, logging
>>> import
multi
processing, logging
>>> logger = processing.getLogger()
>>> logger =
multi
processing.getLogger()
>>> logger.setLevel(logging.INFO)
>>> logger.setLevel(logging.INFO)
>>> logger.warning('
doomed
')
>>> logger.warning('
doomed
')
[WARNING/MainProcess] doomed
[WARNING/MainProcess] doomed
>>> m = processing.Manager()
>>> m =
multi
processing.Manager()
[INFO/SyncManager-1] child process calling self.run()
[INFO/SyncManager-1] child process calling self.run()
[INFO/SyncManager-1] manager bound to '
\\\\.\\
pipe
\\
pyc
-
2776
-
0
-
lj0tfa
'
[INFO/SyncManager-1] manager bound to '
\\\\.\\
pipe
\\
pyc
-
2776
-
0
-
lj0tfa
'
>>> del m
>>> del m
...
...
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