glslang-zig/glslang/OSDependent
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
..
Unix Initialize global mutex in a thread-safe manner 2021-11-08 14:47:32 +01:00
Web cmake: Remove "conditions" from endif 2021-09-30 11:00:09 -06:00
Windows cmake: Remove "conditions" from endif 2021-09-30 11:00:09 -06:00
osinclude.h This refactor the StandAlone and WorkList files in order to use more 2017-04-04 22:29:59 +02:00