mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 14: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
10 lines
253 B
C
Vendored
10 lines
253 B
C
Vendored
#include <threads.h>
|
|
#include <pthread.h>
|
|
|
|
int cnd_signal(cnd_t *c)
|
|
{
|
|
/* This internal function never fails, and always returns zero,
|
|
* which matches the value thrd_success is defined with. */
|
|
return __private_cond_signal((pthread_cond_t *)c, 1);
|
|
}
|