Commit e0e65817 authored by Richard Oudkerk's avatar Richard Oudkerk

Issue #21704: Fix build error for _multiprocessing when semaphores

are not available.  Patch by Arfrever Frehtes Taifersar Arahesis.
parent 7611964b
...@@ -51,6 +51,7 @@ Ankur Ankan ...@@ -51,6 +51,7 @@ Ankur Ankan
Jon Anglin Jon Anglin
Heidi Annexstad Heidi Annexstad
Ramchandra Apte Ramchandra Apte
Arfrever Frehtes Taifersar Arahesis
Éric Araujo Éric Araujo
Alicia Arlen Alicia Arlen
Jeffrey Armstrong Jeffrey Armstrong
......
...@@ -27,6 +27,9 @@ Core and Builtins ...@@ -27,6 +27,9 @@ Core and Builtins
Library Library
------- -------
- Issue #21704: Fix build error for _multiprocessing when semaphores
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
- Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError - Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket. repr(socket.socket) already works fine. on closed socket. repr(socket.socket) already works fine.
......
...@@ -128,7 +128,9 @@ static PyMethodDef module_methods[] = { ...@@ -128,7 +128,9 @@ static PyMethodDef module_methods[] = {
{"recv", multiprocessing_recv, METH_VARARGS, ""}, {"recv", multiprocessing_recv, METH_VARARGS, ""},
{"send", multiprocessing_send, METH_VARARGS, ""}, {"send", multiprocessing_send, METH_VARARGS, ""},
#endif #endif
#ifndef POSIX_SEMAPHORES_NOT_ENABLED
{"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""}, {"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""},
#endif
{NULL} {NULL}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment