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
150 B
C
Vendored
10 lines
150 B
C
Vendored
#include <pthread.h>
|
|
#include <errno.h>
|
|
|
|
int pthread_setconcurrency(int val)
|
|
{
|
|
if (val < 0) return EINVAL;
|
|
if (val > 0) return EAGAIN;
|
|
return 0;
|
|
}
|