SDL Condition Variables

psy_cho wrote:

Hi all

i’ve a question concerning SDL_CondWait. The mutex you specify in this call is unlocked while the thread waits for a signal on this variable.
My question is now, does SDL lock the mutex former freed itself after the thread is woken up or do i have to lock the mutex again manualy?

Thx for your answers

The mutex is automatically locked for you.