From 72ebfcd7e76ba728457dcf65d387218690b581de Mon Sep 17 00:00:00 2001 From: David Xu Date: Sun, 13 Nov 2005 09:57:44 +0000 Subject: [PATCH] Define SIGLWP which is an alias for SIGTHR, the reason why I did this is that gdb knows SIGLWP and will pass it to program, otherwise gdb will print out "unknown signal" and discard it, and then thread cancellation won't work for libthr under gdb. MFC: 3 days --- sys/sys/signal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/signal.h b/sys/sys/signal.h index 8e4daa64f5d..ff52b64740f 100644 --- a/sys/sys/signal.h +++ b/sys/sys/signal.h @@ -110,6 +110,7 @@ #endif #if __BSD_VISIBLE #define SIGTHR 32 /* reserved by thread library. */ +#define SIGLWP SIGTHR #endif #define SIGRTMIN 65