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
Hi everyone,
I don’t know if it’s the good place to ask for this, so if it’s not, please be
kind enough to tell me where I should post this question.
I’m having a hard time figuring out why, since I activated ThreadSanitizer to
my Xcode 9 scheme, I keep seeing race conditions when using Operati