mirror of
https://github.com/python/cpython.git
synced 2025-11-08 17:41:42 +00:00
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. |
||
|---|---|---|
| .. | ||
| connection.h | ||
| multiprocessing.c | ||
| multiprocessing.h | ||
| pipe_connection.c | ||
| semaphore.c | ||
| socket_connection.c | ||
| win32_functions.c | ||