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

Function _signotsets

components/lwp/lwp_signal.c:108–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108rt_inline void _signotsets(lwp_sigset_t *dset, const lwp_sigset_t *set)
109{
110 switch (_LWP_NSIG_WORDS)
111 {
112 case 4:
113 dset->sig[3] = ~set->sig[3];
114 dset->sig[2] = ~set->sig[2];
115 case 2:
116 dset->sig[1] = ~set->sig[1];
117 case 1:
118 dset->sig[0] = ~set->sig[0];
119 default:
120 return;
121 }
122}
123
124rt_inline void _sigaddset(lwp_sigset_t *set, int _sig)
125{

Callers 3

sigqueue_discard_sigsetFunction · 0.85
_mask_unblock_fnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected