[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX
Ed Schouten
report at bugs.python.org
Thu Nov 10 11:56:58 EST 2016
Ed Schouten added the comment:
CloudABI uses a structure type, which is exactly why I filed this bug report.
Instead of speculating about what kind of type existing implementations use, please just focus on the specification to which we're trying to stick: POSIX.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html
"All of the types shall be defined as arithmetic types of an appropriate length, with the following exceptions:
[...]
pthread_key_t
[...]"
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25658>
_______________________________________
More information about the Python-bugs-list
mailing list