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
14 lines
222 B
C
Vendored
14 lines
222 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
int pthread_attr_setscope(pthread_attr_t *a, int scope)
|
|
{
|
|
switch (scope) {
|
|
case PTHREAD_SCOPE_SYSTEM:
|
|
return 0;
|
|
case PTHREAD_SCOPE_PROCESS:
|
|
return ENOTSUP;
|
|
default:
|
|
return EINVAL;
|
|
}
|
|
}
|