Searched refs:SEM_VALUE_MAX (Results 1 – 8 of 8) sorted by relevance
29 # define SEM_VALUE_MAX LONG_MAX macro53 #ifndef SEM_VALUE_MAX55 # define SEM_VALUE_MAX sysconf(_SC_SEM_VALUE_MAX) macro57 # define SEM_VALUE_MAX _SEM_VALUE_MAX macro59 # define SEM_VALUE_MAX _POSIX_SEM_VALUE_MAX macro61 # define SEM_VALUE_MAX INT_MAX macro
286 if ((int)(SEM_VALUE_MAX) < 0) in init_multiprocessing()289 py_sem_value_max = PyLong_FromLong(SEM_VALUE_MAX); in init_multiprocessing()
28 int counter = SEM_VALUE_MAX; in main()30 if (SEM_VALUE_MAX >= INT_MAX) { in main()
66 SEM_VALUE_MAX = _multiprocessing.SemLock.SEM_VALUE_MAX variable111 SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX)
60 maxsize = _multiprocessing.SemLock.SEM_VALUE_MAX
30 int counter = SEM_VALUE_MAX; in main()
23 minimum value has been tested, but not the greater than SEM_VALUE_MAX.
8287 - Issue #3110: Add additional protect around SEM_VALUE_MAX for multiprocessing.9247 SEM_VALUE_MAX.