[Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements

Tim Peters tim_one@email.msn.com
Fri, 18 Aug 2000 13:09:07 -0400


[/F]
> from what I can tell, it's compatible with a long on all sane plat-
> forms (Win64 doesn't support pthreads anyway ;-), so I guess the
> right thing here is to remove volatile and simply use:
>
>     return (long) threadid;

That's what the code originally did, and the casting was introduced in
version 2.5.  As for the "volatile", Vladimir reported that he needed that.

This isn't worth the brain cell it's getting.  Put in the hack and move on
already!