libbsd: add pthread_sigqueue()
* like sigqueue() but for threads. was added recently to FreeBSD, long before to glibc. * also include features.h in gnu/pthread.h Change-Id: I73bca666e2c67d7ff05f341bf85d71df9ccccbe5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7659 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
7866929cf9
commit
f758e73fe6
@@ -22,6 +22,7 @@ extern "C" {
|
||||
|
||||
int sigsetmask(int mask);
|
||||
int sigblock(int mask);
|
||||
int pthread_sigqueue(pthread_t thread, int sig, const union sigval value);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
#include_next <pthread.h>
|
||||
|
||||
#include <features.h>
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user