|
|
|
|
|
by wuch
3252 days ago
|
|
Now that OpenBSD has an optimizing compiler maybe they will notice and fix dataraces in their pthread_mutex_lock implementation. Currently they use broken double-checked locking pattern when mutex is lazy initialized with PTHREAD_MUTEX_INITIALIZER. |
|
[0] https://github.com/openbsd/src/blob/0ecb71b5ec9e4b22a484606f...