I have a question regarding these 2 functions:
When pthread_cond_signal is called before pthread_cond_wait, where exactly does the signal end up? In some kind of queue and then waits until pthread_cond_wait is called ?
I didn't find an explanation regarding this matter.