The code is assuming pthread_t to be an integral data
type (int, long...). It should be great if it instead
treated pthread_t as a handle, not comparing it against
0 or some integral data type.
On the iSeries/400, pthread_t is a typedef'd struct. For
every new version of commonc++ I have to hack
thread.cpp to be able to compile and use it on the
iSeries.
Logged In: YES
user_id=217
If you would like to submit a patch for using pthread_t types this way, I
would be happy to take it into the new 1.3 library release series.