Bug#631867: sigev_notify_kqueue, SIGEV_KEVENT and SIGEV_THREAD_ID in <bits/siginfo.h>
Package: libc0.1-dev
Version: 2.13-7
Severity: wishlist
Tags: patch
Please consider this update for <bits/siginfo.h>, it's a resync with some
of the missing definitions from FreeBSD <sys/signal.h>.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 8.2-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc0.1-dev depends on:
ii kfreebsd-kernel-headers 0.55 kernel of FreeBSD headers for deve
ii libc-dev-bin 2.13-7 Embedded GNU C Library: Developmen
ii libc0.1 2.13-7 Embedded GNU C Library: Shared lib
Versions of packages libc0.1-dev recommends:
ii bcc [c-compiler] 0.16.17-3.1 16-bit x86 C compiler
ii gcc [c-compiler] 4:4.6.0-6 GNU C compiler
ii gcc-4.6 [c-compiler] 4.6.0-14 GNU C compiler
Versions of packages libc0.1-dev suggests:
pn glibc-doc <none> (no description available)
ii manpages-dev 3.28-1 Manual pages about using GNU/Linux
-- no debconf information
Index: bits/siginfo.h
===================================================================
--- bits/siginfo.h (revision 3490)
+++ bits/siginfo.h (working copy)
@@ -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. */
Reply to: