10 lines
186 B
C
10 lines
186 B
C
|
#include "pthread_impl.h"
|
||
|
#include "syscall.h"
|
||
|
|
||
|
int pthread_attr_setinheritsched(pthread_attr_t *a, int inherit)
|
||
|
{
|
||
|
if (inherit > 1U) return EINVAL;
|
||
|
a->_a_sched = inherit;
|
||
|
return 0;
|
||
|
}
|