aboutsummaryrefslogtreecommitdiff
path: root/include/pthread.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2024-04-19 14:40:40 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-04-23 16:51:22 +0000
commit220aa0f450409948b869237e5c4505f992c913ce (patch)
tree43e089652acc9f8f9f505137a50d78a961d7ab4f /include/pthread.h
parent97acb35bd704ac1ef0bd2e286eb8bd09ce4b3ef0 (diff)
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index feb094c39fce..311211cb48f1 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -43,6 +43,9 @@
#include <machine/_limits.h>
#include <sys/_types.h>
#include <sys/_sigset.h>
+#if __BSD_VISIBLE
+#include <sys/_sigval.h>
+#endif
#include <sched.h>
#include <time.h>
@@ -302,6 +305,10 @@ void pthread_yield(void);
int pthread_getname_np(pthread_t, char *, size_t);
int pthread_setname_np(pthread_t, const char *);
+
+int pthread_sigqueue(pthread_t thread, int sig,
+ const union sigval value);
+
#endif
int pthread_mutexattr_getprioceiling(