Lines Matching refs:signals
20 int32_t osSignalSet(osThreadId thread_id, int32_t signals) in osSignalSet() argument
24 if ((thread_id == NULL) || (!signals) || in osSignalSet()
25 (signals & 0x80000000) || (signals > MAX_VALID_SIGNAL_VAL)) { in osSignalSet()
35 thread_def->signal_results |= signals; in osSignalSet()
38 k_poll_signal_raise(thread_def->poll_signal, signals); in osSignalSet()
46 int32_t osSignalClear(osThreadId thread_id, int32_t signals) in osSignalClear() argument
50 if (k_is_in_isr() || (thread_id == NULL) || (!signals) || in osSignalClear()
51 (signals & 0x80000000) || (signals > MAX_VALID_SIGNAL_VAL)) { in osSignalClear()
61 thread_def->signal_results &= ~(signals); in osSignalClear()
71 osEvent osSignalWait(int32_t signals, uint32_t millisec) in osSignalWait() argument
84 if ((signals & 0x80000000) || (signals > MAX_VALID_SIGNAL_VAL)) { in osSignalWait()
135 if ((thread_def->signal_results & signals) == signals) { in osSignalWait()
155 evt.value.signals = thread_def->signal_results; in osSignalWait()
159 thread_def->signal_results &= signals ? ~(signals) : 0; in osSignalWait()