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

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


Author: ps-guest
Date: 2013-06-27 19:43:07 +0000 (Thu, 27 Jun 2013)
New Revision: 4634

Modified:
   trunk/glibc-ports/fbtl/pthreadP.h
Log:
honour PTHREAD_SIGBASE


Modified: trunk/glibc-ports/fbtl/pthreadP.h
===================================================================
--- trunk/glibc-ports/fbtl/pthreadP.h	2013-06-27 19:41:35 UTC (rev 4633)
+++ trunk/glibc-ports/fbtl/pthreadP.h	2013-06-27 19:43:07 UTC (rev 4634)
@@ -305,8 +305,12 @@
 # define LIBC_CANCEL_HANDLED()	/* Nothing.  */
 #endif
 
+#ifndef PTHREAD_SIGBASE
+# define PTHREAD_SIGBASE	__SIGRTMIN
+#endif
+
 /* The signal used for asynchronous cancelation.  */
-#define SIGCANCEL	__SIGRTMIN
+#define SIGCANCEL	PTHREAD_SIGBASE
 
 
 /* Signal needed for the kernel-supported POSIX timer implementation.
@@ -316,7 +320,7 @@
 
 
 /* Signal used to implement the setuid et.al. functions.  */
-#define SIGSETXID	(__SIGRTMIN + 1)
+#define SIGSETXID	(PTHREAD_SIGBASE + 1)
 
 /* Used to communicate with signal handler.  */
 extern struct xid_command *__xidcmd attribute_hidden;




More information about the Glibc-bsd-commits mailing list