Sometimes it happens that way, but sometimes pthread_cond_signal () is called before pthread_cond_wait () is called causing my program to completely stop.<BR><BR>I can fix this with yet another mutex, ...