X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_attr_get.c;h=e4650e426a7ed855189cfc03f741df4ff3386857;hb=9565a349f217fb6f532fac06b7ef458a32c2ad2e;hp=f81103d8ebcab5b7be8b4ccc41aff082c1de12a9;hpb=c6d441e3a246370d9c459396ec22b096db93850e;p=musl 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;