mirror of
https://github.com/ziglang/zig.git
synced 2026-01-11 09:55: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
12 lines
226 B
C
Vendored
12 lines
226 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
int pthread_attr_init(pthread_attr_t *a)
|
|
{
|
|
*a = (pthread_attr_t){0};
|
|
__acquire_ptc();
|
|
a->_a_stacksize = __default_stacksize;
|
|
a->_a_guardsize = __default_guardsize;
|
|
__release_ptc();
|
|
return 0;
|
|
}
|