Thanks Devin, that was the problem!
After initialising with the recursive type attribute, it is now working.
This list is my saviour. Thank you guys! I hope I can make it up to you someday.
> Le 25 juil. 2017 à 22:37, Devin Coughlin a écrit :
>
> pthread_mutex_init(&mutex, nil)
___
Hi Thierry,
Are you initializing the mutex with pthread_mutex_init()? For example:
pthread_mutex_init(&mutex, nil)
Just calling the default initializer for pthread_mutex_t is not sufficient —
you won’t get any mutual exclusion. Thread Sanitizer should be complaining
about this already (somet