• Antoine Pitrou's avatar
    Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows. · bdb1cf1c
    Antoine Pitrou yazdı
    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.
    bdb1cf1c
Adı
Son kayıt (commit)
Son güncelleme
..
dummy Loading commit data...
__init__.py Loading commit data...
connection.py Loading commit data...
forking.py Loading commit data...
heap.py Loading commit data...
managers.py Loading commit data...
pool.py Loading commit data...
process.py Loading commit data...
queues.py Loading commit data...
reduction.py Loading commit data...
sharedctypes.py Loading commit data...
synchronize.py Loading commit data...
util.py Loading commit data...