LibC: Make pthread_once block with a futex instead of yielding
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user