Lines Matching refs:signal
29 - a poll signal is raised
37 its state is changed to signal the requested condition has been met.
48 Apart from the kernel objects, there is also a **poll signal** pseudo-object
214 signal to a poll event. This can be seen as a lightweight binary semaphore only
217 A poll signal is a separate object of type :c:struct:`k_poll_signal` that
224 struct k_poll_signal signal;
227 k_poll_signal_init(&signal);
236 struct k_poll_signal signal;
241 k_poll_signal_init(&signal);
246 &signal),
253 k_poll_signal_check(&signal, &signaled, &result);
265 k_poll_signal_raise(&signal, 0x1337);
268 If the signal is to be polled in a loop, *both* its event state must be
275 struct k_poll_signal signal;
278 k_poll_signal_init(&signal);
283 &signal),
291 k_poll_signal_check(&signal, &signaled, &result);
299 k_poll_signal_reset(signal);
305 that is passed a signal will return after any code in the system calls
306 :c:func:`k_poll_signal_raise()`. But if the signal is being
311 signal only from within the thread invoking the :c:func:`k_poll` loop, or else
322 Use a poll signal as a lightweight binary semaphore if only one thread pends on