Merge "debuggerd_test: Scale timeouts by HwTimeoutMultiplier" into main
This commit is contained in:
commit
580e728696
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger";
|
|||
if (sigaction(SIGALRM, &new_sigaction, &old_sigaction) != 0) { \
|
||||
err(1, "sigaction failed"); \
|
||||
} \
|
||||
alarm(seconds); \
|
||||
alarm(seconds * android::base::HwTimeoutMultiplier()); \
|
||||
auto value = expr; \
|
||||
int saved_errno = errno; \
|
||||
if (sigaction(SIGALRM, &old_sigaction, nullptr) != 0) { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue