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
This commit is contained in:
David Xu 2005-11-13 09:57:44 +00:00
parent 9955dcd2d8
commit 72ebfcd7e7

View file

@ -110,6 +110,7 @@
#endif
#if __BSD_VISIBLE
#define SIGTHR 32 /* reserved by thread library. */
#define SIGLWP SIGTHR
#endif
#define SIGRTMIN 65