X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fthread%2Fpthread_attr_get.c;h=e4650e426a7ed855189cfc03f741df4ff3386857;hp=f81103d8ebcab5b7be8b4ccc41aff082c1de12a9;hb=5c6443ac42ba00ad3a0b4e98db4cc8f45596ca93;hpb=c4a35f8c2a4b1a7e62a4b9e5b2748fb4fbcace79 diff --git a/src/thread/pthread_attr_get.c b/src/thread/pthread_attr_get.c index f81103d8..e4650e42 100644 --- a/src/thread/pthread_attr_get.c +++ b/src/thread/pthread_attr_get.c @@ -68,6 +68,11 @@ int pthread_condattr_getpshared(const pthread_condattr_t *restrict a, int *restr return 0; } +int pthread_mutexattr_getprotocol(const pthread_mutexattr_t *restrict a, int *restrict protocol) +{ + *protocol = PTHREAD_PRIO_NONE; + return 0; +} int pthread_mutexattr_getpshared(const pthread_mutexattr_t *restrict a, int *restrict pshared) { *pshared = *a>>31;