projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement dummy pthread_attr_[gs]etschedparam functions
[musl]
/
src
/
thread
/
pthread_attr_setschedparam.c
diff --git a/src/thread/pthread_attr_setschedparam.c
b/src/thread/pthread_attr_setschedparam.c
new file mode 100644
(file)
index 0000000..
b305f2f
--- /dev/null
+++ b/
src/thread/pthread_attr_setschedparam.c
@@ -0,0
+1,7
@@
+#include "pthread_impl.h"
+
+int pthread_attr_setschedparam(pthread_attr_t *a, const struct sched_param *param)
+{
+ if (param->sched_priority) return ENOTSUP;
+ return 0;
+}