summaryrefslogtreecommitdiffstats
path: root/Modules/_multiprocessing
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21704: Fix build error for _multiprocessing when semaphoresRichard Oudkerk2014-07-281-0/+2
| | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
* Fix conversion from Py_ssize_t to int.Richard Oudkerk2013-09-071-2/+4
|
* Issue #8713: Support alternative start methods in multiprocessing on Unix.Richard Oudkerk2013-08-143-14/+66
| | | | See http://hg.python.org/sandbox/sbt#spawn
* Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macrosVictor Stinner2013-06-041-9/+0
| | | | multiprocessing.h: remove unused MIN and MAX macros
* - Fix typos in the multiprocessing module.doko@ubuntu.com2013-05-151-1/+1
|\
| * - Fix typos in the multiprocessing module.doko@ubuntu.com2013-05-151-1/+1
| |
* | Replace WaitForMultipleObjects with WaitForMultipleObjectEx,Martin v. Löwis2013-01-251-1/+1
| | | | | | | | for better WinRT compatibility.
* | Replace WaitForSingleObject with WaitForSingleObjectEx,Martin v. Löwis2013-01-251-2/+2
| | | | | | | | for better WinRT compatibility.
* | Issue #9586: Merge.Richard Oudkerk2013-01-011-0/+7
|\ \ | |/
| * Issue #9586: MergeRichard Oudkerk2013-01-011-0/+7
| |\
| | * Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.Richard Oudkerk2013-01-011-0/+7
| | |
| | * Issue #10133: Make multiprocessing deallocate buffer if socket read fails.Richard Oudkerk2012-06-111-13/+16
| | | | | | | | | | | | Patch by Hallvard B Furuseth.
| | * Fix for issue 14725 for 3.2 branchRichard Oudkerk2012-05-051-0/+1
| | |
* | | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-2/+2
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Get rid of circular import and eliminate unprefixed exported symbolsRichard Oudkerk2012-10-073-26/+15
|/ / | | | | | | from _multiprocessing.
* | Make multiprocessing's shared memory use memoryview instead of raw pointerRichard Oudkerk2012-05-261-17/+0
| |
* | Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"Richard Oudkerk2012-04-302-2/+4
| | | | | | | | instead of BSD licence.
* | Issue #11750: The Windows API functions scattered in the _subprocess andAntoine Pitrou2012-04-182-834/+72
| | | | | | | | | | _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
* | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.Antoine Pitrou2012-03-051-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #14125: Fix multiprocessing refleak on Windows. Patch by sbt.Stefan Krah2012-02-271-1/+4
| |
* | Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on ConnectionCharles-François Natali2012-02-081-0/+1
| | | | | | | | | | 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).
* | Fix compilation warning on WindowsAmaury Forgeot d'Arc2011-12-171-1/+1
| |
* | Issue #10350: Read and save errno before calling a function which might ↵Antoine Pitrou2011-12-161-1/+3
|\ \ | |/ | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth.
| * Issue #10350: Read and save errno before calling a function which might ↵Antoine Pitrou2011-12-161-1/+3
| | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth.
| * Issue #4028: Make multiprocessing build on SunOS.Charles-François Natali2011-12-141-1/+1
| |
* | Issue #12328: Under Windows, refactor handling of Ctrl-C events andAntoine Pitrou2011-11-214-70/+36
| | | | | | | | | | make _multiprocessing.win32.WaitForMultipleObjects interruptible when the wait_flag parameter is false. Patch by sbt.
* | Issue #12981: rewrite multiprocessing_{sendfd,recvfd} in Python.Charles-François Natali2011-09-242-137/+1
| |
* | Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+11
|\ \ | |/ | | | | was actually received
| * Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+11
| | | | | | | | was actually received
| * Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndianaJesus Cea2011-09-101-11/+23
| |
* | Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndianaJesus Cea2011-09-101-11/+23
| |
* | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-2/+2
|\ \ | |/ | | | | Also added some tests.
| * Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-2/+2
| | | | | | | | Also added some tests.
* | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killedAntoine Pitrou2011-06-081-16/+374
| | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock.
* | Remove dead code from _multiprocessingAntoine Pitrou2011-05-093-58/+3
| |
* | Issue #11743: Rewrite multiprocessing connection classes in pure Python.Antoine Pitrou2011-05-096-923/+168
| |
* | Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-221-1/+1
|/
* Fix compiler warnings about formatting pid_t as an int, by always casting to ↵Georg Brandl2010-10-181-1/+1
| | | | long.
* fix strict aliasing warningsBenjamin Peterson2010-10-171-2/+2
|
* Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is definedGregory P. Smith2010-10-171-2/+13
| | | | | | | as (~0U) on NetBSD which was causing it to appear as -1 when used as a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works around the problem by substituting INT_MAX on systems where it appears negative when used as an int.
* Merged revisions 81692 via svnmerge fromMartin v. Löwis2010-06-041-0/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81692 | martin.v.loewis | 2010-06-04 19:18:42 +0200 (Fr, 04 Jun 2010) | 3 lines Issue #8864: Define _XOPEN_SOURCE on Solaris for the multiprocessing module. ........
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-097-1449/+1449
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Merged revisions 76432,76558 via svnmerge fromMark Dickinson2009-11-282-3/+4
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines Issue #7272: Add configure test to detect whether sem_open works properly, and use this to skip test_multiprocessing on platforms where sem_open raises a signal. This should fix some FreeBSD buildbot failures for test_multiprocessing. ........ r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES to indicate that semaphores aren't available; define a new variable POSIX_SEMAPHORES_NOT_ENABLED instead. ........
* Revert last change, which was incorrect.Kristján Valur Jónsson2009-07-041-0/+6
|
* http://bugs.python.org/issue6381Kristján Valur Jónsson2009-07-041-6/+0
| | | | merging revision 73819 from trunk
* Merged revisions 73767 via svnmerge fromJesus Cea2009-07-021-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73767 | jesus.cea | 2009-07-02 16:30:18 +0200 (Thu, 02 Jul 2009) | 1 line multiprocessing doesn't compile in Solaris because a typo ........
* Merged revisions 70908,70939,71009,71022,71036 via svnmerge fromBenjamin Peterson2009-04-055-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line Issue 5619: Pass MS CRT debug flags into subprocesses ........ r70939 | jesse.noller | 2009-03-31 22:45:50 -0500 (Tue, 31 Mar 2009) | 1 line Fix multiprocessing.event to match the new threading.Event API ........ r71009 | jesse.noller | 2009-04-01 19:03:28 -0500 (Wed, 01 Apr 2009) | 1 line issue5545: Switch to Autoconf for multiprocessing; special thanks to Martin Lowis for help ........ r71022 | jesse.noller | 2009-04-01 21:32:55 -0500 (Wed, 01 Apr 2009) | 1 line Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin Loewis ........ r71036 | jesse.noller | 2009-04-01 23:22:09 -0500 (Wed, 01 Apr 2009) | 1 line Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES ........
* Merged revisions 70953 via svnmerge fromJesse Noller2009-04-011-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70953 | hirokazu.yamamoto | 2009-04-01 10:13:52 -0500 (Wed, 01 Apr 2009) | 1 line Fixed compile error on windows. ........
* Merged revisions 70908 via svnmerge fromJesse Noller2009-03-311-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line Issue 5619: Pass MS CRT debug flags into subprocesses ........
* merge 70783 to py3kJesse Noller2009-03-311-1/+1
|