[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r7784 - in /trunk/libc: ChangeLog.eglibc nptl/sysdeps/unix/sysv/linux/timer_create.c



Author: joseph
Date: Fri Jan 23 05:15:12 2009
New Revision: 7784

Log:
	[BZ #7094]
	* nptl/sysdeps/unix/sysv/linux/timer_create.c (timer_create): Set
	newp->sigev_notify = SIGEV_THREAD for SIGEV_THREAD timers.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/nptl/sysdeps/unix/sysv/linux/timer_create.c

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Fri Jan 23 05:15:12 2009
@@ -1,3 +1,9 @@
+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.
+
 2009-01-22  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
 
 	Cross-getconf.

Modified: trunk/libc/nptl/sysdeps/unix/sysv/linux/timer_create.c
==============================================================================
--- trunk/libc/nptl/sysdeps/unix/sysv/linux/timer_create.c (original)
+++ trunk/libc/nptl/sysdeps/unix/sysv/linux/timer_create.c Fri Jan 23 05:15:12 2009
@@ -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