Lines Matching full:signal
34 #include <signal.h>
45 * Signal error code: The parameters of interface is error.
54 * Signal error code: The memory requests failed.
63 * Signal error code: The signal is not set.
72 * Signal error code: Waiting for signal timeout.
81 * Signal error code: The interface is used before system start.
90 * Mutex error code: Waiting for signal in interrupt callback.
99 * Add the signal num to the signal set.
105 * Maximum signal supported num.
111 * Signal handler type.
119 siginfo_t sigInfo; /**< signal info */
120 SIG_HANDLER sigHandlers[LOS_SIGNAL_SUPPORT_MAX + 1]; /**< signal handler */
121 LOS_DL_LIST sigInfoList; /**< signal info list */
124 UINT32 sigStatus; /**< status of signal */
140 * @brief Register the handler for the specified signal.
143 …* This API is used to register the handler for the specified signal, otherwise it is the default h…
147 * @param sigNo [IN] The specified signal num.
148 * @param handler [IN] The handler for this signal, which is either SIG_IGN, SIG_DFL,
160 * @brief Shield the specified signal set.
163 * This API is used to shield the specified signal set and get the current signal set.
169 * @param set [IN] The new signal set.
170 * @param oldSet [OUT] The old signal set.
184 * the signal set becomes pending.
188 * specified in the signal set becomes pending and return the signal number in sig.
192 * @param set [IN] The specified signal set which waiting for.
193 * @param info [OUT] The info of signal becomes pending.
199 * @retval: LOS_ERRNO_SIGNAL_PEND_INTERR Type#UINT32: Waiting for signal in interrupt callback.
200 * @retval: LOS_ERRNO_SIGNAL_TIMEOUT Type#UINT32: Waiting for signal timeout.
201 * @retval: signo Type#UINT32: success, returning the signal num which becomes pending.
209 * @brief Send the specified signal to the specified task.
212 * This API is used to send the specified signal to the specified task.
216 * @param taskID [IN] Send a signal to this task.
217 * @param sigNo [IN] The signal num.
221 * @retval: LOS_ERRNO_SIGNAL_NO_SET Type#UINT32: The signal is not set.