[Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements (original) (raw)
Tim Peters tim_one@email.msn.com
Fri, 18 Aug 2000 14:24:57 -0400
- Previous message: [Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements
- Next message: [Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Trent Mick]
I am inclined to agrre with Thomas and Greg on this one. Why not check for sizeof(pthreadt) if pthread.h exists and test:
#if SIZEOFPTHREADT < SIZEOFLONG return (long)threadid; #endif
Change "<" to "<=" and I won't gripe.
- Previous message: [Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements
- Next message: [Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]