This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
sparc-linux siginfo.h
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 19 Nov 2008 15:32:54 +0000
- Subject: sparc-linux siginfo.h
This patch fixes a problem with the sigevent structure for sparc. The _tid
field is in the sparc linux kernel, and in other glibc siginfo.h header files.
ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2008-11-17 Nathan Sidwell <nathan@codesourcery.com>
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):
Add _tid slot to maintain consistency with kernel.
Index: sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
===================================================================
--- sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (revision 227977)
+++ sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (working copy)
@@ -289,6 +289,10 @@ typedef struct sigevent
{
int _pad[__SIGEV_PAD_SIZE];
+ /* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the
+ thread to receive the signal. */
+ __pid_t _tid;
+
struct
{
void (*_function) (sigval_t); /* Function to start. */