LibC: Make pthread_once block with a futex instead of yielding

This commit is contained in:
2026-07-20 04:07:23 +03:00
parent 0242a4f968
commit 46e2d665e9
2 changed files with 7 additions and 3 deletions
@@ -13,7 +13,7 @@ __BEGIN_DECLS
#include <stdint.h>
typedef int pthread_once_t;
typedef uint32_t pthread_once_t;
typedef pthread_t pthread_spinlock_t;