Home
last modified time | relevance | path

Searched refs:signalHandle (Results 1 – 2 of 2) sorted by relevance

/base/startup/init/services/loopevent/signal/
Dle_signal.c42 static void HandleSignalTaskClose_(const LoopHandle loopHandle, const TaskHandle signalHandle) in HandleSignalTaskClose_() argument
44 BaseTask *task = (BaseTask *)signalHandle; in HandleSignalTaskClose_()
49 LE_STATUS LE_CreateSignalTask(const LoopHandle loopHandle, SignalHandle *signalHandle, LE_ProcessSi… in LE_CreateSignalTask() argument
51 …LE_CHECK(loopHandle != NULL && signalHandle != NULL, return LE_INVALID_PARAM, "Invalid parameters"… in LE_CreateSignalTask()
65 *signalHandle = (SignalHandle)task; in LE_CreateSignalTask()
69 LE_STATUS LE_AddSignal(const LoopHandle loopHandle, const SignalHandle signalHandle, int signal) in LE_AddSignal() argument
71 …LE_CHECK(loopHandle != NULL && signalHandle != NULL, return LE_INVALID_PARAM, "Invalid parameters"… in LE_AddSignal()
73 SignalTask *task = (SignalTask *)signalHandle; in LE_AddSignal()
80 int sfd = signalfd(GetSocketFd(signalHandle), &task->mask, SFD_NONBLOCK | SFD_CLOEXEC); in LE_AddSignal()
91 LE_STATUS LE_RemoveSignal(const LoopHandle loopHandle, const SignalHandle signalHandle, int signal) in LE_RemoveSignal() argument
[all …]
/base/startup/init/services/loopevent/include/
Dloop_event.h164 SignalHandle *signalHandle, LE_ProcessSignal processSignal);
165 LE_STATUS LE_AddSignal(const LoopHandle loopHandle, const SignalHandle signalHandle, int signal);
166 LE_STATUS LE_RemoveSignal(const LoopHandle loopHandle, const SignalHandle signalHandle, int signal);
167 void LE_CloseSignalTask(const LoopHandle loopHandle, const SignalHandle signalHandle);