mirror of
https://github.com/ziglang/zig.git
synced 2025-12-21 21:53:08 +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
9 lines
173 B
C
Vendored
9 lines
173 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *a, int pshared)
|
|
{
|
|
if (pshared > 1U) return EINVAL;
|
|
a->__attr[0] = pshared;
|
|
return 0;
|
|
}
|