Searched refs:temp_thread (Results 1 – 2 of 2) sorted by relevance
| /examples/utest/testcases/kernel/smp/ |
| A D | smp_affinity_pri2_tc.c | 30 static rt_thread_t temp_thread; variable 39 rt_thread_delete(temp_thread); in thread_temp_entry() 55 …temp_thread = rt_thread_create("Tn", thread_temp_entry, RT_NULL, THREAD_STACK_SIZE, LOW_PRIORITY, … in thread_entry() 57 if (temp_thread != RT_NULL) in thread_entry() 59 rt_thread_control(temp_thread, RT_THREAD_CTRL_BIND_CPU, (void *)0); in thread_entry() 60 rt_thread_startup(temp_thread); in thread_entry()
|
| A D | smp_affinity_pri1_tc.c | 30 static rt_thread_t temp_thread; variable 44 rt_thread_delete(temp_thread); in thread_temp_entry() 64 …temp_thread = rt_thread_create("Tn", thread_temp_entry, RT_NULL, THREAD_STACK_SIZE, THIGH_PRIORITY… in thread_entry() 66 if (temp_thread != RT_NULL) in thread_entry() 68 rt_thread_startup(temp_thread); in thread_entry()
|
Completed in 3 milliseconds