Files
cpython/Modules
Antoine Pitrou bdb1cf1ca5 Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.
Also, add a multiprocessing.connection.wait(rlist, timeout=None) function
for polling multiple objects at once.  Patch by sbt.

Complete changelist from sbt's patch:

* Adds a wait(rlist, timeout=None) function for polling multiple
  objects at once.  On Unix this is just a wrapper for
  select(rlist, [], [], timeout=None).

* Removes use of the SentinelReady exception and the sentinels argument
  to certain methods.  concurrent.futures.process has been changed to
  use wait() instead of SentinelReady.

* Fixes bugs concerning PipeConnection.poll() and messages of zero
  length.

* Fixes PipeListener.accept() to call ConnectNamedPipe() with
  overlapped=True.

* Fixes Queue.empty() and SimpleQueue.empty() so that they are
  threadsafe on Windows.

* Now PipeConnection.poll() and wait() will not modify the pipe except
  possibly by consuming a zero length message.  (Previously poll()
  could consume a partial message.)

* All of multiprocesing's pipe related blocking functions/methods are
  now interruptible by SIGINT on Windows.
2012-03-05 19:28:37 +01:00
..
2012-02-21 13:59:40 +02:00
2011-03-16 12:51:44 +02:00
2012-02-21 11:09:13 -05:00
2011-09-28 07:41:54 +02:00
2010-09-05 05:26:10 +00:00
2012-01-22 20:04:58 -05:00
2010-08-24 18:08:22 +00:00
2011-06-01 19:47:24 +02:00
2011-12-09 23:42:29 +01:00
2011-03-16 11:35:38 +02:00
2011-03-28 17:26:04 -05:00
2012-02-21 22:37:36 +01:00
2011-06-06 20:24:11 -07:00
2011-09-28 07:41:54 +02:00
2011-12-10 17:50:22 -05:00
2011-12-27 16:01:21 -06:00
2011-11-11 19:39:25 +01:00
2011-09-28 07:41:54 +02:00
2012-02-20 22:24:29 -05:00
2012-02-20 22:24:29 -05:00
2012-02-20 22:24:29 -05:00