Files
cpython/Lib
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-01-26 00:15:07 -08:00
2012-03-05 17:04:20 +01:00
2011-11-11 19:39:25 +01:00
2012-03-04 16:23:53 +01:00
2011-10-19 10:58:56 +03:00
2012-03-04 16:12:09 +01:00
2012-02-21 13:59:40 +02:00
2012-01-21 11:55:40 +08:00
2012-03-05 16:24:07 +01:00
2011-10-28 14:52:29 +02:00
2011-10-19 11:06:26 +03:00
2011-10-19 11:06:26 +03:00
2011-12-10 13:02:17 +01:00
2011-11-08 18:39:15 +01:00
2011-11-04 08:29:17 +01:00
2011-11-11 19:39:25 +01:00
2011-12-22 01:15:53 +00:00
2011-10-28 14:52:29 +02:00
2011-12-13 13:22:42 -05:00
2012-02-01 15:15:14 -06:00
2011-11-04 08:29:17 +01:00
2012-01-09 20:02:24 +00:00
2011-11-11 09:41:17 -06:00
2011-10-28 14:52:29 +02:00
2011-10-18 13:26:49 +03:00
2011-11-04 10:22:57 +01:00
2011-10-28 14:52:29 +02:00
2011-12-02 21:25:39 +02:00