On perusing the pthread code, it seems like a call to pthread_cancel on the main thread will fail because cancel_event is never created for the main thread. Is this correct? If so, it's a bug, right? cgf