[issue12328] multiprocessing's overlapped PipeConnection on Windows

sbt report at bugs.python.org
Wed Jun 15 15:17:18 CEST 2011


sbt <shibturn at gmail.com> added the comment:

pipe_interruptible.patch is a patch to support to making poll() interruptible.  It applies on top of pipe_poll_2.patch.

I am not sure what the guarantees are for when KeyboardInterrupt will be raised.

I would have done it a bit differently if I knew a good way to test whether the current thread is the main one.  Maybe there should be something like PyThread_is_main() and/or threading.ismain().

----------
Added file: http://bugs.python.org/file22367/pipe_interruptible.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12328>
_______________________________________


More information about the Python-bugs-list mailing list