Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3fc341

Browse files
committed
Issue #21704: Merge.
2 parents d6af047 + e0e6581 commit c3fc341

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Ankur Ankan
5252
Jon Anglin
5353
Heidi Annexstad
5454
Ramchandra Apte
55+
Arfrever Frehtes Taifersar Arahesis
5556
Éric Araujo
5657
Alicia Arlen
5758
Jeffrey Armstrong

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ Core and Builtins
113113
Library
114114
-------
115115

116+
- Issue #21704: Fix build error for _multiprocessing when semaphores
117+
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
118+
116119
- Issue #20173: Convert sha1, sha256, sha512 and md5 to ArgumentClinic.
117120
Patch by Vajrasky Kok.
118121

Modules/_multiprocessing/multiprocessing.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ static PyMethodDef module_methods[] = {
128128
{"recv", multiprocessing_recv, METH_VARARGS, ""},
129129
{"send", multiprocessing_send, METH_VARARGS, ""},
130130
#endif
131+
#ifndef POSIX_SEMAPHORES_NOT_ENABLED
131132
{"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""},
133+
#endif
132134
{NULL}
133135
};
134136

0 commit comments

Comments
 (0)