blob: 978f4e2dc50d76cf7a63ef2dee17f3032a12227c [file] [log] [blame]
#include "threads_impl.h"
int pthread_mutexattr_setrobust(pthread_mutexattr_t* a, int robust) {
// Attempts to set bits outside of the mask are not allowed.
if (robust & ~PTHREAD_MUTEX_ROBUST_MASK)
return EINVAL;
// We do not support robust pthread_mutex_ts.
if (robust)
return ENOTSUP;
return 0;
}