Searched refs:thread_def (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_thread.c | 44 osThreadDef_t *thread_def = (osThreadDef_t *)(thread->custom_data); in z_thread_cmsis_status_mask_clear() local 46 if (thread_def != NULL) { in z_thread_cmsis_status_mask_clear() 48 offset = thread->stack_info.start - (uintptr_t)thread_def->stack_mem; in z_thread_cmsis_status_mask_clear() 50 sys_bitarray_clear_bit((sys_bitarray_t *)(thread_def->status_mask), instance); in z_thread_cmsis_status_mask_clear() 57 osThreadId osThreadCreate(const osThreadDef_t *thread_def, void *arg) in osThreadCreate() argument 69 if ((thread_def == NULL) || (thread_def->instances == 0)) { in osThreadCreate() 78 __ASSERT(thread_def->stacksize <= CONFIG_CMSIS_THREAD_MAX_STACK_SIZE, in osThreadCreate() 85 __ASSERT((thread_def->tpriority >= osPriorityIdle) && in osThreadCreate() 86 (thread_def->tpriority <= osPriorityRealtime), in osThreadCreate() 90 ret = sys_bitarray_alloc((sys_bitarray_t *)(thread_def->status_mask), in osThreadCreate() [all …]
|
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 …]
|
/Zephyr-Core-3.5.0/include/zephyr/portability/ |
D | cmsis_os.h | 313 osThreadId osThreadCreate (const osThreadDef_t *thread_def, void *argument);
|