blob: 26750c387f0486e51bc97b2b8dce40b528c63296 [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;
}