[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] glibc bug 7094 patch applied
- To: patches@xxxxxxxxxx
- Subject: [patches] glibc bug 7094 patch applied
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Fri, 23 Jan 2009 13:19:28 +0000 (UTC)
I've applied my patch for glibc bug 7094 to EGLIBC trunk, 2.9 and 2.8
branches. That bug has a detailed analysis of the issue.
http://sourceware.org/bugzilla/show_bug.cgi?id=7094
2009-01-23 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
[BZ #7094]
* nptl/sysdeps/unix/sysv/linux/timer_create.c (timer_create): Set
newp->sigev_notify = SIGEV_THREAD for SIGEV_THREAD timers.
Index: nptl/sysdeps/unix/sysv/linux/timer_create.c
===================================================================
RCS file: /cvs/glibc/libc/nptl/sysdeps/unix/sysv/linux/timer_create.c,v
retrieving revision 1.10
diff -u -r1.10 timer_create.c
--- nptl/sysdeps/unix/sysv/linux/timer_create.c 28 Oct 2007 19:23:13 -0000 1.10
+++ nptl/sysdeps/unix/sysv/linux/timer_create.c 23 Jan 2009 02:14:16 -0000
@@ -167,6 +167,7 @@
/* Copy the thread parameters the user provided. */
newp->sival = evp->sigev_value;
newp->thrfunc = evp->sigev_notify_function;
+ newp->sigev_notify = SIGEV_THREAD;
/* We cannot simply copy the thread attributes since the
implementation might keep internal information for
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx