MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwp_sigqueue_clear

Function lwp_sigqueue_clear

components/lwp/lwp_signal.c:425–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void lwp_sigqueue_clear(lwp_sigqueue_t sigq)
426{
427 lwp_siginfo_t this, next;
428 if (!sigqueue_isempty(sigq))
429 {
430 rt_list_for_each_entry_safe(this, next, &sigq->siginfo_list, node)
431 {
432 siginfo_delete(this);
433 }
434 }
435}
436
437static void lwp_signal_notify(rt_slist_t *list_head, lwp_siginfo_t siginfo)
438{

Callers 2

lwp_signal_detachFunction · 0.85
lwp_thread_signal_detachFunction · 0.85

Calls 2

sigqueue_isemptyFunction · 0.85
siginfo_deleteFunction · 0.85

Tested by

no test coverage detected