mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
9955dcd2d8
commit
72ebfcd7e7
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@
|
|||
#endif
|
||||
#if __BSD_VISIBLE
|
||||
#define SIGTHR 32 /* reserved by thread library. */
|
||||
#define SIGLWP SIGTHR
|
||||
#endif
|
||||
|
||||
#define SIGRTMIN 65
|
||||
|
|
|
|||
Loading…
Reference in a new issue