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