Jean Brouwers <[EMAIL PROTECTED]> added the comment:

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.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3149>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to