(...) Somewhere along the way the terminology changed from 'process id' to 'thread id'. So it should work if you change it to tid_t . I ran in to the same problem a while ago when trying to learn how to use threading based on an old example. Rob (22 years ago, 23-Mar-03, to lugnet.robotics.rcx.legos)