Home
last modified time | relevance | path

Searched refs:tid1 (Results 1 – 2 of 2) sorted by relevance

/examples/utest/testcases/kernel/
A Dthread_tc.c25 static rt_thread_t tid1 = RT_NULL; variable
57 tid1 = rt_thread_create("thread1", in test_dynamic_thread()
63 if (tid1 == RT_NULL) in test_dynamic_thread()
65 uassert_false(tid1 == RT_NULL); in test_dynamic_thread()
69 ret_startup = rt_thread_startup(tid1); in test_dynamic_thread()
76 ret_delete = rt_thread_delete(tid1); in test_dynamic_thread()
83 uassert_true(tid1 != RT_NULL && ret_startup == RT_EOK && ret_delete == RT_EOK); in test_dynamic_thread()
86 if (tid1 != RT_NULL && ret_delete != RT_EOK) in test_dynamic_thread()
88 rt_thread_delete(tid1); in test_dynamic_thread()
A Dmutex_tc.c254 static rt_thread_t tid1 = RT_NULL; variable
314 tid1 = RT_NULL; in test_static_pri_reverse()
328 tid1 = rt_thread_create("thread1", in test_static_pri_reverse()
334 if (tid1 != RT_NULL) in test_static_pri_reverse()
335 rt_thread_startup(tid1); in test_static_pri_reverse()
648 tid1 = RT_NULL; in test_dynamic_pri_reverse()
661 tid1 = rt_thread_create("thread1", in test_dynamic_pri_reverse()
667 if (tid1 != RT_NULL) in test_dynamic_pri_reverse()
668 rt_thread_startup(tid1); in test_dynamic_pri_reverse()

Completed in 4 milliseconds