Message232801
python-2.7.9/Modules/_multiprocessing/multiprocessing.c
python-2.7.9/Modules/_multiprocessing/semaphore.c
The compile lines for the above two files have "-DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_TIMEDWAIT=0" in them. The cpp code in those files uses "#ifdef" and "#ifndef" with those symbols commensurate with the #define/#undef commands used in 'pyconfig.h'. In my case, the biggest problem is the "-DHAVE_SEM_TIMEDWAIT=0" which DEFINES that symbol so that the "#ifndef HAVE_SEM_TIMEDWAIT" in semaphore.c fails to do what the coder wanted. Being very lazy, I just hacked the files to use "#if SYMBOL" and "#if ! SYMBOL". Worked fine.
Solaris 2.8
Studio 11 Compiler Suite
-- Thanks,
-- aab |
|
Date |
User |
Action |
Args |
2014-12-17 05:37:53 | aab@purdue.edu | set | recipients:
+ aab@purdue.edu |
2014-12-17 05:37:53 | aab@purdue.edu | set | messageid: <1418794673.39.0.221318823729.issue23072@psf.upfronthosting.co.za> |
2014-12-17 05:37:53 | aab@purdue.edu | link | issue23072 messages |
2014-12-17 05:37:53 | aab@purdue.edu | create | |
|