summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_get.c')
-rw-r--r--src/thread/pthread_attr_get.c5
1 files changed, 5 insertions, 0 deletions
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;