Commit 5f3f66c683b699ed3da8167b39199eed69fb8c5a

Nick Wellnhofer 2024-07-15T23:50:08

threads: Use pthread_once and InitOnceExecuteOnce Static initialization flags aren't thread-safe. Also avoids an allocation on Windows. TODO: Breaks xmllint on Windows.