glslang-zig/glslang/OSDependent/Unix
Niklas Haas 3971424207 Initialize global mutex in a thread-safe manner
Currently, ShInitialize() and friends call glslang::InitGlobalLock()
which *overwrites* the global mutex. As such, even though it ostensibly
takes a mutex, this function is actually completely thread-unsafe.

Fix it by using pthread_once to ensure the mutex is only initialized
once, and then never again.
2021-11-08 14:47:32 +01:00
..
CMakeLists.txt cmake: Remove "conditions" from endif 2021-09-30 11:00:09 -06:00
ossource.cpp Initialize global mutex in a thread-safe manner 2021-11-08 14:47:32 +01:00