1 #include "pthread_impl.h"
4 static volatile int check_robust_result
= -1;
6 int pthread_mutexattr_setrobust(pthread_mutexattr_t
*a
, int robust
)
8 if (robust
> 1U) return EINVAL
;
10 int r
= check_robust_result
;
14 r
= -__syscall(SYS_get_robust_list
, 0, &p
, &l
);
15 a_store(&check_robust_result
, r
);