mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
185 B
9 lines
185 B
#include "pthread_impl.h"
|
|
|
|
int pthread_mutexattr_setrobust(pthread_mutexattr_t *a, int robust)
|
|
{
|
|
if (robust > 1U) return EINVAL;
|
|
a->__attr &= ~4;
|
|
a->__attr |= robust*4;
|
|
return 0;
|
|
}
|
|
|