diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2014-07-28 23:13:58 +0100 |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2014-07-28 23:13:58 +0100 |
commit | c3fc341c35c33366d607e1bd554e2cc3cb4b0878 (patch) | |
tree | 17ee1feb056fcf93925d1552b2ad486711dfb3a6 | |
parent | d6af04780a99c80cb2d7339e3b47a3e1289a6025 (diff) | |
parent | e0e65817e534420d5d04a635f964d97abf68e921 (diff) | |
download | cpython-git-c3fc341c35c33366d607e1bd554e2cc3cb4b0878.tar.gz |
Issue #21704: Merge.
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.c | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -52,6 +52,7 @@ Ankur Ankan Jon Anglin Heidi Annexstad Ramchandra Apte +Arfrever Frehtes Taifersar Arahesis Éric Araujo Alicia Arlen Jeffrey Armstrong @@ -113,6 +113,9 @@ Core and Builtins Library ------- +- Issue #21704: Fix build error for _multiprocessing when semaphores + are not available. Patch by Arfrever Frehtes Taifersar Arahesis. + - Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. Patch by Vajrasky Kok. diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c index 1aaf360571..4ae638eea5 100644 --- a/Modules/_multiprocessing/multiprocessing.c +++ b/Modules/_multiprocessing/multiprocessing.c @@ -128,7 +128,9 @@ static PyMethodDef module_methods[] = { {"recv", multiprocessing_recv, METH_VARARGS, ""}, {"send", multiprocessing_send, METH_VARARGS, ""}, #endif +#ifndef POSIX_SEMAPHORES_NOT_ENABLED {"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""}, +#endif {NULL} }; |