[Glibc-bsd-commits] r4613 - trunk/glibc-ports/fbtl

Petr Salinger ps-guest at alioth.debian.org
Mon Jul 8 12:47:30 UTC 2013


Author: ps-guest
Date: 2013-06-25 20:28:19 +0000 (Tue, 25 Jun 2013)
New Revision: 4613

Modified:
   trunk/glibc-ports/fbtl/pthread_cancel.c
Log:
send CANCEL signal


Modified: trunk/glibc-ports/fbtl/pthread_cancel.c
===================================================================
--- trunk/glibc-ports/fbtl/pthread_cancel.c	2013-06-25 19:58:28 UTC (rev 4612)
+++ trunk/glibc-ports/fbtl/pthread_cancel.c	2013-06-25 20:28:19 UTC (rev 4613)
@@ -75,8 +75,11 @@
 	     a signal handler.  But this is no allowed, pthread_cancel
 	     is not guaranteed to be async-safe.  */
 	  int val;
-#warning kill self needed	  
-#if 0	  
+#warning TODO recheck
+#if 1
+          result = INLINE_SYSCALL(thr_kill, 2, pd->tid, SIGCANCEL);
+          
+#else 
 	  val = INTERNAL_SYSCALL (tgkill, err, 3,
 				  THREAD_GETMEM (THREAD_SELF, pid), pd->tid,
 				  SIGCANCEL);




More information about the Glibc-bsd-commits mailing list