diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-07-23 04:13:41 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-07-23 04:13:41 (GMT) |
commit | bd8b443742d155b5ed99ba72defbac9565529c5a (patch) | |
tree | 3ddbbf6f8995a3b3be46447cbc23c0686449e1e9 /Modules/_multiprocessing | |
parent | 525a949251686a9f8c795f0166797700ac56b77b (diff) | |
parent | 1fd497ed91a14eabaf37e9b3f17dde8c3169ef25 (diff) | |
download | cpython-bd8b443742d155b5ed99ba72defbac9565529c5a.zip cpython-bd8b443742d155b5ed99ba72defbac9565529c5a.tar.gz cpython-bd8b443742d155b5ed99ba72defbac9565529c5a.tar.bz2 |
Issue #27591: Merge from 3.5
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r-- | Modules/_multiprocessing/semaphore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c index de85a90..cea962a 100644 --- a/Modules/_multiprocessing/semaphore.c +++ b/Modules/_multiprocessing/semaphore.c @@ -114,6 +114,9 @@ semlock_acquire(SemLockObject *self, PyObject *args, PyObject *kwds) assert(sigint_event != NULL); handles[nhandles++] = sigint_event; } + else { + sigint_event = NULL; + } /* do the wait */ Py_BEGIN_ALLOW_THREADS |