summaryrefslogtreecommitdiffstats
path: root/Include/memoryobject.h
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-10-17 02:14:36 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-10-17 02:14:36 (GMT)
commit68e0135e4121b3e341aea7acf1cd017be74b50cf (patch)
tree07274405533df20a2d1337673d7c3a0602eae7c1 /Include/memoryobject.h
parented7916dd001d5d49b5be04a745c2f83826b27fe2 (diff)
downloadcpython-68e0135e4121b3e341aea7acf1cd017be74b50cf.zip
cpython-68e0135e4121b3e341aea7acf1cd017be74b50cf.tar.gz
cpython-68e0135e4121b3e341aea7acf1cd017be74b50cf.tar.bz2
Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined
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.
Diffstat (limited to 'Include/memoryobject.h')
0 files changed, 0 insertions, 0 deletions