Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31653: Remove deadcode in semlock_acquire() (#4091) | Victor Stinner | 2017-10-23 | 1 | -4/+4 |
| | | | | | | | | | | Fix the following Coverity warning: >>> CID 1420038: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "res = sem_trywait(self->han...". 321 res = sem_trywait(self->handle); The deadcode was introduced by the commit c872d39d324cd6f1a71b73e10406bbaed192d35f. | ||||
* | bpo-31653: Don't release the GIL if we can acquire a multiprocessing ↵ | Antoine Pitrou | 2017-10-22 | 1 | -10/+20 |
| | | | | semaphore immediately (#4078) | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 2 | -4/+4 |
| | |||||
* | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 1 | -1/+1 |
| | | | | | | | | | | | * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident(). | ||||
* | Issue #28152: Fix -Wunreachable-code warning on clang | Victor Stinner | 2016-12-05 | 1 | -2/+5 |
| | | | | | Replace 0 with (0) to ignore a compiler warning about dead code on "((int)(SEM_VALUE_MAX) < 0)": SEM_VALUE_MAX is not negative on Linux. | ||||
* | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Issue #27591: Merge from 3.5 | Berker Peksag | 2016-07-23 | 1 | -0/+3 |
|\ | |||||
| * | Issue #27591: Set sigint_event to NULL if _PyOS_IsMainThread() returns false | Berker Peksag | 2016-07-23 | 1 | -0/+3 |
| | | | | | | | | Patch by Chris Angelico. | ||||
* | | Issue #26924: Fix Windows buildbots | Berker Peksag | 2016-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | sem_unlink is defined as #define SEM_UNLINK(name) 0 under Windows. | ||||
* | | Issue #26924: Do not define _multiprocessing.sem_unlink under Android | Berker Peksag | 2016-05-07 | 1 | -1/+1 |
|/ | | | | Android declares sem_unlink but doesn't implement it. | ||||
* | Issue #21704: Fix build error for _multiprocessing when semaphores | Richard Oudkerk | 2014-07-28 | 1 | -0/+2 |
| | | | | are not available. Patch by Arfrever Frehtes Taifersar Arahesis. | ||||
* | Fix conversion from Py_ssize_t to int. | Richard Oudkerk | 2013-09-07 | 1 | -2/+4 |
| | |||||
* | Issue #8713: Support alternative start methods in multiprocessing on Unix. | Richard Oudkerk | 2013-08-14 | 3 | -14/+66 |
| | | | | See http://hg.python.org/sandbox/sbt#spawn | ||||
* | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros | Victor Stinner | 2013-06-04 | 1 | -9/+0 |
| | | | | multiprocessing.h: remove unused MIN and MAX macros | ||||
* | - Fix typos in the multiprocessing module. | doko@ubuntu.com | 2013-05-15 | 1 | -1/+1 |
|\ | |||||
| * | - Fix typos in the multiprocessing module. | doko@ubuntu.com | 2013-05-15 | 1 | -1/+1 |
| | | |||||
* | | Replace WaitForMultipleObjects with WaitForMultipleObjectEx, | Martin v. Löwis | 2013-01-25 | 1 | -1/+1 |
| | | | | | | | | for better WinRT compatibility. | ||||
* | | Replace WaitForSingleObject with WaitForSingleObjectEx, | Martin v. Löwis | 2013-01-25 | 1 | -2/+2 |
| | | | | | | | | for better WinRT compatibility. | ||||
* | | Issue #9586: Merge. | Richard Oudkerk | 2013-01-01 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #9586: Merge | Richard Oudkerk | 2013-01-01 | 1 | -0/+7 |
| |\ | |||||
| | * | Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy. | Richard Oudkerk | 2013-01-01 | 1 | -0/+7 |
| | | | |||||
| | * | Issue #10133: Make multiprocessing deallocate buffer if socket read fails. | Richard Oudkerk | 2012-06-11 | 1 | -13/+16 |
| | | | | | | | | | | | | Patch by Hallvard B Furuseth. | ||||
| | * | Fix for issue 14725 for 3.2 branch | Richard Oudkerk | 2012-05-05 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -2/+2 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Get rid of circular import and eliminate unprefixed exported symbols | Richard Oudkerk | 2012-10-07 | 3 | -26/+15 |
|/ / | | | | | | | from _multiprocessing. | ||||
* | | Make multiprocessing's shared memory use memoryview instead of raw pointer | Richard Oudkerk | 2012-05-26 | 1 | -17/+0 |
| | | |||||
* | | Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement" | Richard Oudkerk | 2012-04-30 | 2 | -2/+4 |
| | | | | | | | | instead of BSD licence. | ||||
* | | Issue #11750: The Windows API functions scattered in the _subprocess and | Antoine Pitrou | 2012-04-18 | 2 | -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 Pitrou | 2012-03-05 | 1 | -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 Krah | 2012-02-27 | 1 | -1/+4 |
| | | |||||
* | | Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on Connection | Charles-François Natali | 2012-02-08 | 1 | -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 Windows | Amaury Forgeot d'Arc | 2011-12-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -1/+3 |
|\ \ | |/ | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -1/+3 |
| | | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #4028: Make multiprocessing build on SunOS. | Charles-François Natali | 2011-12-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #12328: Under Windows, refactor handling of Ctrl-C events and | Antoine Pitrou | 2011-11-21 | 4 | -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 Natali | 2011-09-24 | 2 | -137/+1 |
| | | |||||
* | | Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵ | Jesus Cea | 2011-09-21 | 1 | -0/+11 |
|\ \ | |/ | | | | | was actually received | ||||
| * | Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵ | Jesus Cea | 2011-09-21 | 1 | -0/+11 |
| | | | | | | | | was actually received | ||||
| * | Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana | Jesus Cea | 2011-09-10 | 1 | -11/+23 |
| | | |||||
* | | Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana | Jesus Cea | 2011-09-10 | 1 | -11/+23 |
| | | |||||
* | | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe. | Antoine Pitrou | 2011-08-23 | 1 | -2/+2 |
|\ \ | |/ | | | | | Also added some tests. | ||||
| * | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe. | Antoine Pitrou | 2011-08-23 | 1 | -2/+2 |
| | | | | | | | | Also added some tests. | ||||
* | | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed | Antoine Pitrou | 2011-06-08 | 1 | -16/+374 |
| | | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock. | ||||
* | | Remove dead code from _multiprocessing | Antoine Pitrou | 2011-05-09 | 3 | -58/+3 |
| | | |||||
* | | Issue #11743: Rewrite multiprocessing connection classes in pure Python. | Antoine Pitrou | 2011-05-09 | 6 | -923/+168 |
| | | |||||
* | | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 1 | -1/+1 |
|/ | |||||
* | Fix compiler warnings about formatting pid_t as an int, by always casting to ↵ | Georg Brandl | 2010-10-18 | 1 | -1/+1 |
| | | | | long. | ||||
* | fix strict aliasing warnings | Benjamin Peterson | 2010-10-17 | 1 | -2/+2 |
| | |||||
* | Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined | Gregory P. Smith | 2010-10-17 | 1 | -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. |