mirror of
https://github.com/ziglang/zig.git
synced 2026-01-25 08:47:55 +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
133 B
C
Vendored
8 lines
133 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
int pthread_getcpuclockid(pthread_t t, clockid_t *clockid)
|
|
{
|
|
*clockid = (-t->tid-1)*8U + 6;
|
|
return 0;
|
|
}
|