aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-11-13 09:57:44 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-11-13 09:57:44 +0000
commit72ebfcd7e76ba728457dcf65d387218690b581de (patch)
tree48cf1a9aed844ba83b3c26157a8463675c58872b /sys/sys/signal.h
parent9955dcd2d8e1aad412f8bdfa062c691e605bb1cf (diff)
downloadsrc-72ebfcd7e76ba728457dcf65d387218690b581de.tar.gz
src-72ebfcd7e76ba728457dcf65d387218690b581de.zip
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
Notes
Notes: svn path=/head/; revision=152373
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 8e4daa64f5dc..ff52b64740f6 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