Home
last modified time | relevance | path

Searched refs:newAction (Results 1 - 3 of 3) sorted by relevance

/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_dfx.cpp81 struct sigaction newAction; in SignalReg() local
82 newAction.sa_flags = SA_RESTART | SA_SIGINFO; in SignalReg()
83 newAction.sa_sigaction = SignalHandler; in SignalReg()
84 sigaction(signo, &newAction, nullptr); in SignalReg()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_service_impl.cpp847 struct sigaction newAction {}; in UnregisterSignal() struct
849 if (sigemptyset(&newAction.sa_mask) == -1) { in UnregisterSignal()
853 newAction.sa_handler = SIG_DFL; in UnregisterSignal()
854 newAction.sa_flags = SA_RESTART; in UnregisterSignal()
855 newAction.sa_restorer = nullptr; in UnregisterSignal()
857 if (sigaction(SIGCHLD, &newAction, nullptr) == -1) { in UnregisterSignal()
/foundation/resourceschedule/ffrt/src/dfx/bbox/
H A Dbbox.cpp333 struct sigaction newAction; in SignalReg() local
334 newAction.sa_flags = SA_RESTART | SA_SIGINFO; in SignalReg()
335 newAction.sa_sigaction = SignalHandler; in SignalReg()
336 sigaction(signo, &newAction, nullptr); in SignalReg()

Completed in 3 milliseconds