summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15525: Increase timeout when TerminateProcess() failsRichard Oudkerk2012-08-011-2/+2
|
* Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.Richard Oudkerk2012-07-271-0/+5
| | | | Original patch by J Derek Wilson.
* Issue #15064: Make BaseManager.__enter__() start server if necessary.Richard Oudkerk2012-06-181-0/+3
|
* Issue #15064: Implement context manager protocol for multiprocessing typesRichard Oudkerk2012-06-183-1/+35
|
* Issue #15101: Make pool finalizer avoid joining current thread.Richard Oudkerk2012-06-181-3/+6
|\
| * Issue #15101: Make pool finalizer avoid joining current thread.Richard Oudkerk2012-06-181-3/+6
| |
* | Increase timeout used when waiting for manager to shutdown cleanlyRichard Oudkerk2012-06-151-1/+1
| | | | | | | | before resorting to terminate()
* | Issue #14059: Implement multiprocessing.BarrierRichard Oudkerk2012-06-154-4/+72
| |
* | Issue #13841: Make child processes exit using sys.exit() on WindowsRichard Oudkerk2012-06-143-54/+46
| |
* | Issue #3518: Remove references to non-existent BaseManager.from_address()Richard Oudkerk2012-06-111-4/+0
| | | | | | | | method
* | Merge fixes for #13854 and #12157.Richard Oudkerk2012-06-072-3/+4
|\ \ | |/
| * Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-061-3/+3
| | | | | | | | | | Previously multiprocessing only expected int or str. It also wrongly used an exit code of 1 when the argument was a string instead of zero.
| * Issue #12157: pool.map() does not handle empty iterable correctlyRichard Oudkerk2012-06-061-0/+1
| | | | | | | | Initial patch by mouad
* | Prevent handle leak if CreateProcess() fails in multiprocessingRichard Oudkerk2012-06-041-25/+27
| |
* | Fix potential NameError in multiprocessing.Condition.wait()Richard Oudkerk2012-06-041-2/+1
| |
* | Make Finalize reserve a reference to os.getpid in case called at shutdownRichard Oudkerk2012-06-041-2/+2
| |
* | Use Python 3.x-style keyword only arg in Array()Richard Oudkerk2012-05-292-9/+6
| | | | | | | | | | | | Previously a Python 2.x compatible hack was used for multiprocessing.sharedctypes.Array(). Also the documented signature was wrong.
* | Remove __getslice__, __setslice__, __delslice__ methods from proxiesRichard Oudkerk2012-05-291-6/+5
| | | | | | | | Proxy classes in multiprocessing do not need these methods in Python 3.x.
* | Make multiprocessing's shared memory use memoryview instead of raw pointerRichard Oudkerk2012-05-262-9/+5
| |
* | Issue #14548: Make multiprocessing finalizers check pid before runningRichard Oudkerk2012-05-251-3/+9
| | | | | | | | This protects from possibilty of gc running just after fork.
* | Issue #12091: simplify ApplyResult and MapResult with threading.EventRichard Oudkerk2012-05-251-30/+9
| | | | | | | | Patch by Charles-François Natali
* | MergeRichard Oudkerk2012-05-251-1/+2
|\ \ | |/
| * Issue #14881: Allow normal non-main thread to spawn a dummy processRichard Oudkerk2012-05-251-1/+2
| | | | | | | | Fix suggested by Itay Brandes
| * Fix for issue 14725 for 3.2 branchRichard Oudkerk2012-05-051-1/+4
| |
* | Fix whitespaceAntoine Pitrou2012-05-181-1/+0
| |
* | Move private function _args_from_interpreter_flags() to subprocess.py, soAntoine Pitrou2012-05-181-29/+1
| | | | | | | | | | that it can be imported when threads are disabled. (followup to issue #12098)
* | #12098: Make multiprocessing's child processes inherit sys.flags on WindowsRichard Oudkerk2012-05-182-1/+33
| | | | | | | | Initial patch by Sergey Mezentsev.
* | Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2Richard Oudkerk2012-05-103-27/+4
| | | | | | | | | | | | | | | | In Python 3.2 and earlier, Process.join() and Connection.poll() treated negative timeouts as zero timeouts. Earlier versions from the 3.3 line of development treat them as infinite timeouts. The patch reverts to the old behaviour.
* | Make AcquirerProxy.acquire() support timeout argumentRichard Oudkerk2012-05-061-2/+3
| |
* | Fix for Issue 14725 for 3.3 branch.Richard Oudkerk2012-05-051-9/+17
| |
* | Fix dangling warning for test_multiprocessingRichard Oudkerk2012-05-031-1/+4
| |
* | Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"Richard Oudkerk2012-04-3012-312/+12
| | | | | | | | instead of BSD licence.
* | Issue #14666: stop multiprocessing's resource-sharing thread after the tests ↵Antoine Pitrou2012-04-271-1/+28
| | | | | | | | | | | | | | | | are done. Also, block delivery of signals to that thread. Patch by Richard Oudkerk. This will hopefully fix sporadic freezes on the FreeBSD 9.0 buildbot.
* | Issue #4892: multiprocessing Connections can now be transferred over ↵Antoine Pitrou2012-04-244-159/+203
| | | | | | | | | | | | multiprocessing Connections. Patch by Richard Oudkerk (sbt).
* | Issue #11750: The Windows API functions scattered in the _subprocess andAntoine Pitrou2012-04-184-84/+83
| | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
* | Issue #14087: multiprocessing: add Condition.wait_for(). Patch by sbt.Charles-François Natali2012-04-172-0/+38
| |
* | Issue #14522: Avoid duplicating socket handles in multiprocessing.connection.Antoine Pitrou2012-04-071-12/+3
| | | | | | | | Patch by sbt.
* | Issue #14482: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-031-0/+4
|\ \ | |/ | | | | | | a multiprocessing Client or Listener with an AF_UNIX type address under Windows. Patch by Popa Claudiu.
| * Issue #14482: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-031-0/+4
| | | | | | | | | | a multiprocessing Client or Listener with an AF_UNIX type address under Windows. Patch by Popa Claudiu.
* | Issue #14151: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-011-0/+9
|\ \ | |/ | | | | | | a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
| * Issue #14151: Raise a ValueError, not a NameError, when trying to createAntoine Pitrou2012-04-011-0/+9
| | | | | | | | | | a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
* | Issue #14335: multiprocessing's custom Pickler subclass now inherits from ↵Antoine Pitrou2012-03-161-9/+9
| | | | | | | | | | | | the C-accelerated implementation. Patch by sbt.
* | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.Antoine Pitrou2012-03-052-116/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #11836: document and expose multiprocessing.SimpleQueueSandro Tosi2012-02-151-1/+8
|\ \ | |/
| * Issue #8184: Fix a potential file descriptor leak when aCharles-François Natali2012-02-041-4/+8
| | | | | | | | multiprocessing.Connection socket can't be bound.
* | Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on ConnectionCharles-François Natali2012-02-081-3/+8
| | | | | | | | | | sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two listeners can't bind to the same socket/pipe (or any existing socket/pipe).
* | Issue #8184: Fix a potential file descriptor leak when aCharles-François Natali2012-02-041-4/+8
| | | | | | | | multiprocessing.Connection socket can't be bound.
* | Issue #13812: When a multiprocessing Process child raises an exception, ↵Antoine Pitrou2012-01-272-5/+4
|\ \ | |/ | | | | flush stderr after printing the exception traceback.
| * Issue #13812: When a multiprocessing Process child raises an exception, ↵Antoine Pitrou2012-01-272-5/+4
| | | | | | | | flush stderr after printing the exception traceback.
* | Issue #13565: Increase multiprocessing's server socket backlog, to avoidCharles-François Natali2011-12-231-1/+1
|\ \ | |/ | | | | dropped connections in case of simultaneous connection requests.