mirror of
https://github.com/ziglang/zig.git
synced 2025-12-21 05:33:15 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
8 lines
126 B
C
Vendored
8 lines
126 B
C
Vendored
#include "pthread_impl.h"
|
|
#include <errno.h>
|
|
|
|
int pthread_spin_trylock(pthread_spinlock_t *s)
|
|
{
|
|
return a_cas(s, 0, EBUSY);
|
|
}
|