projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add stub versions of some missing optional pthread interfaces
[musl]
/
src
/
thread
/
pthread_mutexattr_setprotocol.c
diff --git a/src/thread/pthread_mutexattr_setprotocol.c
b/src/thread/pthread_mutexattr_setprotocol.c
new file mode 100644
(file)
index 0000000..
c92a31c
--- /dev/null
+++ b/
src/thread/pthread_mutexattr_setprotocol.c
@@ -0,0
+1,7
@@
+#include "pthread_impl.h"
+
+int pthread_mutexattr_setprotocol(pthread_mutexattr_t *a, int protocol)
+{
+ if (protocol) return ENOTSUP;
+ return 0;
+}