mirror of
https://github.com/ziglang/zig.git
synced 2026-01-17 21:05: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
94 B
C
8 lines
94 B
C
#include <threads.h>
|
|
#include "syscall.h"
|
|
|
|
void thrd_yield()
|
|
{
|
|
__syscall(SYS_sched_yield);
|
|
}
|