#22 pthread_t on iSeries/400

open
David Sugar
None
6
2004-12-22
2004-10-07
kinpaha
No

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.

Discussion

  • David Sugar
    David Sugar
    2004-12-22

    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.

     
  • David Sugar
    David Sugar
    2004-12-22

    • priority: 5 --> 6
    • assigned_to: nobody --> dyfet