Reserve a realtime signal for debuggerd.
Allocate __SIGRTMIN + 3 for triggering native stack dumps (like SIGQUIT for Java processes). Bug: http://b/30705528 Test: debuggerd_test Change-Id: I81d622fba32a651555268a8a2ba6721c61c93a58
This commit is contained in:
parent
8d0e0d4952
commit
f8a6d4745d
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@
|
|||
// POSIX timers use __SIGRTMIN + 0.
|
||||
// libbacktrace uses __SIGRTMIN + 1.
|
||||
// libcore uses __SIGRTMIN + 2.
|
||||
// __SIGRTMIN + 3 is reserved for triggering native stack dumps.
|
||||
|
||||
int __libc_current_sigrtmin(void) {
|
||||
return __SIGRTMIN + 3;
|
||||
return __SIGRTMIN + 4;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue