Searched refs:thread_num (Results 1 – 4 of 4) sorted by relevance
205 int thread_num = POINTER_TO_INT(p1); in thread_entry_fn() local208 tinfo[thread_num].executed = 1; in thread_entry_fn()209 tinfo[thread_num].cpu_id = curr_cpu(); in thread_entry_fn()229 static void spawn_threads(int prio, int thread_num, int equal_prio, in spawn_threads() argument237 for (i = 0; i < thread_num; i++) { in spawn_threads()496 int thread_num = POINTER_TO_INT(p1); in thread_wakeup_entry() local498 thread_started[thread_num] = 1; in thread_wakeup_entry()502 tinfo[thread_num].executed = 1; in thread_wakeup_entry()
29 static atomic_t thread_num; variable118 if (thread_num >= CONFIG_CMSIS_V2_THREAD_MAX_COUNT) { in osThreadNew()162 this_thread_num = atomic_inc((atomic_t *)&thread_num); in osThreadNew()
1462 uint8_t thread_num = 0; in cdns_nand_irq_handler_ll() local1465 thread_num = find_lsb_set(status); in cdns_nand_irq_handler_ll()1467 if (GET_INIT_SET_CHECK(status, (thread_num - 1)) != 0) { in cdns_nand_irq_handler_ll()1469 sys_write32(BIT((thread_num - 1)), params->nand_base + THREAD_INTERRUPT_STATUS); in cdns_nand_irq_handler_ll()
1854 * :github:`23062` - thread_num / thread_num_dynamic are never decremented in CMSIS v2 thread.c