| 1 | From d090ac2228678e124cb39f355d9f2979094fa197 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ariadne Conill <ariadne@ariadne.space> |
| 3 | Date: Sat, 26 Jul 2025 14:33:25 -0700 |
| 4 | Subject: [PATCH] add stub for pthread_mutexattr_setprioceiling |
| 5 | |
| 6 | this function has been in pthread.h for years, but not actually implemented. |
| 7 | like pthread_mutex_setprioceiling, we make this a stub function. |
| 8 | --- |
| 9 | src/thread/pthread_mutexattr_setprioceiling.c | 6 ++++++ |
| 10 | 1 file changed, 6 insertions(+) |
| 11 | create mode 100644 src/thread/pthread_mutexattr_setprioceiling.c |
| 12 | |
| 13 | diff --git a/src/thread/pthread_mutexattr_setprioceiling.c b/src/thread/pthread_mutexattr_setprioceiling.c |
| 14 | new file mode 100644 |
| 15 | index 00000000..d543e169 |
| 16 | --- /dev/null |
| 17 | +++ b/src/thread/pthread_mutexattr_setprioceiling.c |
| 18 | @@ -0,0 +1,6 @@ |
| 19 | +#include "pthread_impl.h" |
| 20 | + |
| 21 | +int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *a, int ceiling) |
| 22 | +{ |
| 23 | + return EINVAL; |
| 24 | +} |
| 25 | -- |
| 26 | 2.50.1 |
| 27 | |
| 28 | |