commit | 3bc5cb7e0db13ba3885c8ed3d51ea792738499b2 | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Thu Mar 04 15:58:54 2010 +0000 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Thu Mar 04 15:58:54 2010 +0000 |
tree | ff7a706875291920386bedeb1e5f5b6c1cd7df8d | |
parent | a36e245deb9068c09092a62104c8832302f7b684 [diff] [blame] |
#7805: wait until all workers are started before collecting their PIDs
diff --git a/Lib/multiprocessing/process.py b/Lib/multiprocessing/process.py index 56719d9..998dab7 100644 --- a/Lib/multiprocessing/process.py +++ b/Lib/multiprocessing/process.py
@@ -179,7 +179,7 @@ @property def ident(self): ''' - Return indentifier (PID) of process or `None` if it has yet to start + Return identifier (PID) of process or `None` if it has yet to start ''' if self is _current_process: return os.getpid()