This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients asksol, bquinlan, jnoller, pitrou, vstinner
Date 2011-03-24.16:37:15
SpamBayes Score 6.4953596e-08
Marked as misclassified No
Message-id <1300984635.99.0.905093372765.issue11663@psf.upfronthosting.co.za>
In-reply-to
Content
It's possible to stop the parent with a CTRL+c, and so here is the trace of blocking function:

$ ./python y.py 
parent 26706: wait child
child 26707: wait 60 seconds
^CProcess PoolWorker-2:
Traceback (most recent call last):
  File "y.py", line 13, in <module>
Traceback (most recent call last):
  File "/home/haypo/prog/HG/cpython/Lib/multiprocessing/process.py", line 263, in _bootstrap
    print(result.get(timeout=120))
  File "/home/haypo/prog/HG/cpython/Lib/multiprocessing/pool.py", line 539, in get
    self.run()
  File "/home/haypo/prog/HG/cpython/Lib/multiprocessing/process.py", line 118, in run
    self._target(*self._args, **self._kwargs)
  File "/home/haypo/prog/HG/cpython/Lib/multiprocessing/pool.py", line 102, in worker
    self.wait(timeout)
  File "/home/haypo/prog/HG/cpython/Lib/multiprocessing/pool.py", line 534, in wait
    task = get()
  File "/home/haypo/prog/HG/cpython/Lib/multiprocessing/queues.py", line 378, in get
    return recv()
KeyboardInterrupt
    self._cond.wait(timeout)
  File "/home/haypo/prog/HG/cpython/Lib/threading.py", line 241, in wait
    gotit = waiter.acquire(True, timeout)
KeyboardInterrupt
[61207 refs]
History
Date User Action Args
2011-03-24 16:37:16vstinnersetrecipients: + vstinner, bquinlan, pitrou, jnoller, asksol
2011-03-24 16:37:15vstinnersetmessageid: <1300984635.99.0.905093372765.issue11663@psf.upfronthosting.co.za>
2011-03-24 16:37:15vstinnerlinkissue11663 messages
2011-03-24 16:37:15vstinnercreate