This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MrJean1
Recipients MrJean1, jnoller, roudkerk
Date 2008-06-20.15:34:31
SpamBayes Score 0.5557903
Marked as misclassified No
Message-id <1213976073.56.0.0579956383521.issue3149@psf.upfronthosting.co.za>
In-reply-to
Content
One more comment on SEM_VALUE_MAX for Solaris.  _POSIX_SEM_VALUE_MAX is 
defined in <limits.h> on Solaris and that header file must be included.  
Better might be to use _SEM_VALUE_MAX which is defined in <param.h> and 
that header files needs to be included as well.  Rerhaps, INT_MAX is 
best.

/usr/include/limits.h:#define   _POSIX_SEM_NSEMS_MAX      256
/usr/include/limits.h:#define   _POSIX_SEM_VALUE_MAX    32767

/usr/include/sys/param.h:#define        _SEM_NSEMS_MAX          INT_MAX
/usr/include/sys/param.h:#define        _SEM_VALUE_MAX          INT_MAX


Btw, the value of _POSIX_SEM_MAX_VALUE is 32767.
History
Date User Action Args
2008-06-20 15:34:33MrJean1setspambayes_score: 0.55579 -> 0.5557903
recipients: + MrJean1, roudkerk, jnoller
2008-06-20 15:34:33MrJean1setspambayes_score: 0.55579 -> 0.55579
messageid: <1213976073.56.0.0579956383521.issue3149@psf.upfronthosting.co.za>
2008-06-20 15:34:32MrJean1linkissue3149 messages
2008-06-20 15:34:32MrJean1create