mirror of
https://github.com/ziglang/zig.git
synced 2026-01-19 05:45:12 +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
8 lines
126 B
C
#include "pthread_impl.h"
|
|
#include <errno.h>
|
|
|
|
int pthread_spin_trylock(pthread_spinlock_t *s)
|
|
{
|
|
return a_cas(s, 0, EBUSY);
|
|
}
|