[Glibc-bsd-commits] r3501 - trunk/glibc-ports/kfreebsd/bits
Aurelien Jarno
aurel32 at alioth.debian.org
Tue Jun 28 19:37:41 UTC 2011
Author: aurel32
Date: 2011-06-28 19:37:40 +0000 (Tue, 28 Jun 2011)
New Revision: 3501
Modified:
trunk/glibc-ports/kfreebsd/bits/siginfo.h
Log:
Add SIGEV_KEVENT and SIGEV_THREAD_ID to <bits/siginfo.h>, patch by Robert
Millan
Modified: trunk/glibc-ports/kfreebsd/bits/siginfo.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/siginfo.h 2011-06-28 16:38:43 UTC (rev 3500)
+++ trunk/glibc-ports/kfreebsd/bits/siginfo.h 2011-06-28 19:37:40 UTC (rev 3501)
@@ -199,6 +199,8 @@
void *sigev_notify_attributes; /* Really pthread_attr_t. */
} sigevent_t;
+#define sigev_notify_kqueue sigev_signo
+
/* `sigev_notify' values. */
enum
{
@@ -207,8 +209,12 @@
SIGEV_NONE = 0, /* Other notification: meaningless. */
# define SIGEV_NONE SIGEV_NONE
/* Not yet supported by the kernel. */
- SIGEV_THREAD = 2 /* Deliver via thread creation. */
+ SIGEV_THREAD = 2, /* Deliver via thread creation. */
# define SIGEV_THREAD SIGEV_THREAD
+ SIGEV_KEVENT = 3,
+# define SIGEV_KEVENT SIGEV_KEVENT
+ SIGEV_THREAD_ID = 4,
+# define SIGEV_THREAD_ID SIGEV_THREAD_ID
};
#endif /* have _SIGNAL_H. */
More information about the Glibc-bsd-commits
mailing list