Searched refs:thread_def (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_signal.c | 29 osThreadDef_t *thread_def = in osSignalSet() local 34 sig = thread_def->signal_results; in osSignalSet() 35 thread_def->signal_results |= signals; in osSignalSet() 38 k_poll_signal_raise(thread_def->poll_signal, signals); in osSignalSet() 55 osThreadDef_t *thread_def = in osSignalClear() local 60 sig = thread_def->signal_results; in osSignalClear() 61 thread_def->signal_results &= ~(signals); in osSignalClear() 89 osThreadDef_t *thread_def = k_thread_custom_data_get(); in osSignalWait() local 97 retval = k_poll(thread_def->poll_event, 1, K_NO_WAIT); in osSignalWait() 100 retval = k_poll(thread_def->poll_event, 1, K_FOREVER); in osSignalWait() [all …]
|
D | cmsis_thread.c | 46 osThreadDef_t *thread_def = (osThreadDef_t *)(thread->custom_data); in thread_abort_hook() local 48 if (thread_def != NULL) { in thread_abort_hook() 60 offset = stack_start - (uintptr_t)thread_def->stack_mem; in thread_abort_hook() 62 sys_bitarray_clear_bit((sys_bitarray_t *)(thread_def->status_mask), instance); in thread_abort_hook() 69 osThreadId osThreadCreate(const osThreadDef_t *thread_def, void *arg) in osThreadCreate() argument 81 if ((thread_def == NULL) || (thread_def->instances == 0)) { in osThreadCreate() 90 __ASSERT(thread_def->stacksize <= CONFIG_CMSIS_THREAD_MAX_STACK_SIZE, in osThreadCreate() 97 __ASSERT((thread_def->tpriority >= osPriorityIdle) && in osThreadCreate() 98 (thread_def->tpriority <= osPriorityRealtime), in osThreadCreate() 102 ret = sys_bitarray_alloc((sys_bitarray_t *)(thread_def->status_mask), in osThreadCreate() [all …]
|
/Zephyr-latest/include/zephyr/portability/ |
D | cmsis_os.h | 313 osThreadId osThreadCreate (const osThreadDef_t *thread_def, void *argument);
|