Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 8 of 8) sorted by relevance

/ark/runtime_core/libpandabase/os/unix/sighooklib/
Dsighook.cpp343 static int RegisterUserHandler(int signal, const struct sigaction *new_action, struct sigaction *ol… in RegisterUserHandler() argument
347 if (signal <= 0 || signal >= _NSIG) { in RegisterUserHandler()
348 LOG(ERROR, RUNTIME) << "Illegal signal " << signal; in RegisterUserHandler()
352 if (signal_hooks[signal].IsHook()) { in RegisterUserHandler()
353 auto user_action = signal_hooks[signal].SignalHook::GetUserAction(); in RegisterUserHandler()
355 signal_hooks[signal].RegisterUserAction(new_action); in RegisterUserHandler()
363 return really(signal, new_action, old_action); in RegisterUserHandler()
422 extern "C" void RegisterHookHandler(int signal, const SighookAction *sa) in RegisterHookHandler() argument
428 if (signal <= 0 || signal >= _NSIG) { in RegisterHookHandler()
429 LOG(FATAL, RUNTIME) << "Illegal signal " << signal; in RegisterHookHandler()
[all …]
Dsighook.h36 extern "C" void RegisterHookHandler(int signal, const SighookAction *sa);
37 extern "C" void RemoveHookHandler(int signal, bool (*action)(int, siginfo_t *, void *));
38 extern "C" void CheckOldHookHandler(int signal);
49 extern "C" void AddSpecialSignalHandlerFn(int signal, SigchainAction *sa);
50 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t *, void *));
51 extern "C" void EnsureFrontOfChain(int signal);
/ark/runtime_core/cmake/
DPandaAssembly.cmake134 # If specified, the program will be run and terminated with the signal 10 (corresponds
138 # after the timeout with the signal 10.
197 …set(timeout_prefix "timeout --preserve-status --signal=${timeout_signal} --kill-after=10s ${ARG_TI…
318 # If specified, the program will be run and terminated with the signal 10 (corresponds
322 # after the timeout with the signal 10.
376 …set(timeout_prefix "timeout --preserve-status --signal=${timeout_signal} --kill-after=10s ${ARG_TI…
DCommonTesting.cmake119 set(timeout_prefix timeout --preserve-status --signal=USR1 --kill-after=10s 40m)
121 set(timeout_prefix timeout --preserve-status --signal=USR1 --kill-after=10s 20m)
/ark/js_runtime/ecmascript/cpu_profiler/
Dcpu_profiler.h55 static void GetStackSignalHandler(int signal);
Dcpu_profiler.cpp262 void CpuProfiler::GetStackSignalHandler(int signal) in GetStackSignalHandler() argument
/ark/ts2abc/test262/
Drun_sunspider.py25 import signal
121 os.kill(proc.pid, signal.SIGTERM)
/ark/runtime_core/docs/
Dmemory-management.md505 We'll jump to its beginning from signal handler, and in the end, we should jump back to the safepoi…
513 | signal handler | ---change return pc explicitly--->