Hi,

2010/5/3 Sylvain Joyeux <redmine / ruby-lang.org>:
> pthread_cond_wait can *not* return in any other case than the condition variable being signaled. The only other way would be thread cancellation, in which case, technically, pthread_cond_wait does not return: the thread is destroyed.

http://www.opengroup.org/onlinepubs/009695399/functions/pthread_cond_wait.html

  Spurious wakeups from the pthread_cond_timedwait() or
pthread_cond_wait() functions may occur.

-- 
Yusuke Endoh <mame / tsg.ne.jp>