A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008521.html below:

typedef ??? pthread_t and hacky return statements

[Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statements [Python-Dev] pthreads question: typedef ??? pthread_t and hacky return statementsTim Peters tim_one@email.msn.com
Fri, 18 Aug 2000 14:24:57 -0400
[Trent Mick]
> I am inclined to agrre with Thomas and Greg on this one. Why not check for
> sizeof(pthread_t) if pthread.h exists and test:
>
> #if SIZEOF_PTHREAD_T < SIZEOF_LONG
>     return (long)threadid;
> #endif

Change "<" to "<=" and I won't gripe.





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4