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 Ed,
> On May 19, 2017, at 10:10 AM, Edward Connell via swift-users
> wrote:
>
> I just switched to the 5/17 swift 4.0 tool chain on Linux, and I am getting
> the following complaint when using swap on array elements. Is this warning
> legitimate because of a copy on write issue? If so, is