[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] sparc siginfo.h
- To: patches@xxxxxxxxxx
- Subject: [patches] sparc siginfo.h
- From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- Date: Mon, 17 Nov 2008 13:57:26 +0000
This patch fixes a problem with the sigevent structure for sparc. The _tid
field is in the sparc kernel, and in other glibc siginfo.h header files.
ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2008-11-17 Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
* 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. */