>So it seems that __gthread_active_p() can return 0 under some >conditions (although I'm not quite sure which). I don't know either, so I reverted this bit. Clarification would be nice, however. -benjamin