From abcfbd8fc618f7743136402b23d4ef3c66e0f812 Mon Sep 17 00:00:00 2001 From: Venkatesh Srinivas Date: Mon, 21 Feb 2011 15:07:16 -0800 Subject: [PATCH] Add definitions for SIGEV_THREAD. --- sys/sys/signal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/sys/signal.h b/sys/sys/signal.h index 60736045ae..ca5f06b7cc 100644 --- a/sys/sys/signal.h +++ b/sys/sys/signal.h @@ -215,14 +215,18 @@ struct sigevent { union { int __sigev_signo; /* Signal number */ int __sigev_notify_kqueue; + void *__sigev_notify_attributes; } __sigev_u; union sigval sigev_value; /* Signal value */ + void (*sigev_notify_function)(union sigval); }; #define sigev_signo __sigev_u.__sigev_signo +#define sigev_notify_attributes __sigev_u.__sigev_notify_attributes #define sigev_notify_kqueue __sigev_u.__sigev_notify_kqueue #define SIGEV_NONE 0 /* No async notification */ #define SIGEV_SIGNAL 1 /* Generate a queued signal */ +#define SIGEV_THREAD 2 /* Call back in a pthread */ #define SIGEV_KEVENT 3 /* Generate a kevent */ typedef struct __siginfo { -- 2.41.0