| /examples/libc/ |
| A D | ex6.c | 27 pthread_t thread; in libc_ex6() local 30 status = pthread_create(&thread, NULL, test_thread, NULL); in libc_ex6() 39 pthread_join(thread, NULL); in libc_ex6()
|
| A D | ex7.c | 80 pthread_t thread; in libc_ex7() local 84 status = pthread_create(&thread, NULL, test_thread, (void*) (count in libc_ex7()
|
| /examples/utest/testcases/kernel/ |
| A D | atomic_tc.c | 137 rt_thread_t thread; in test_atomic_add() local 143 …thread = rt_thread_create("t1", ture_entry, RT_NULL, THREAD_STACKSIZE, THREAD_PRIORITY, THREAD_TIM… in test_atomic_add() 144 rt_thread_startup(thread); in test_atomic_add() 145 …thread = rt_thread_create("t2", ture_entry, RT_NULL, THREAD_STACKSIZE, THREAD_PRIORITY, THREAD_TIM… in test_atomic_add() 146 rt_thread_startup(thread); in test_atomic_add() 147 …thread = rt_thread_create("t3", ture_entry, RT_NULL, THREAD_STACKSIZE, THREAD_PRIORITY, THREAD_TIM… in test_atomic_add() 148 rt_thread_startup(thread); in test_atomic_add()
|
| A D | hooklist_tc.c | 20 static void thread_inited_hooker1(rt_thread_t thread) in thread_inited_hooker1() argument 27 static void thread_inited_hooker2(rt_thread_t thread) in thread_inited_hooker2() argument
|
| A D | object_tc.c | 133 rt_thread_t thread = rt_thread_create(name, RT_NULL, RT_NULL, 1024, 20, 10); in test_object_find_operations() local 134 uassert_not_null(thread); in test_object_find_operations() 137 uassert_ptr_equal(found_thread, thread); in test_object_find_operations() 139 rt_thread_delete(thread); in test_object_find_operations()
|
| A D | Kconfig | 60 bool "thread test"
|
| A D | sched_sem_tc.c | 29 #error the thread priority should at least be greater than idle
|
| A D | mem_tc.c | 22 rt_uint8_t thread[8]; /**< thread name */ member 24 rt_uint8_t thread[4]; /**< thread name */ member
|
| /examples/utest/testcases/cpp11/ |
| A D | thread_tc.cpp | 26 std::thread t1(func); in test_thread() 34 std::thread t2(func); in test_thread()
|
| A D | Kconfig | 4 bool "Cpp11 thread test"
|
| /examples/utest/testcases/posix/pthread_h/functions/pthread_cond_broadcast/ |
| A D | pthread_cond_broadcast_2-1_tc.c | 77 pthread_t thread[THREAD_NUM]; in posix_testcase() local 89 if (pthread_create(&thread[i], NULL, thr_func, NULL) != 0) { in posix_testcase() 120 pthread_cancel(thread[i]); in posix_testcase() 128 if (pthread_join(thread[i], NULL) != 0) { in posix_testcase()
|
| /examples/utest/testcases/lwp/ |
| A D | condvar_broadcast_tc.c | 75 struct rt_thread thread[THREAD_NUM]; in condvar_broadcast_tc() local 79 if (rt_thread_init(&thread[i], "utest", thr_func, RT_NULL, in condvar_broadcast_tc() 85 rt_thread_startup(&thread[i]); in condvar_broadcast_tc()
|
| /examples/test/ |
| A D | rbb_test.c | 82 rt_thread_t thread; in rbb_test() local 309 thread = rt_thread_create("rbb_put", put_thread, rbb, 1024, 10, 25); in rbb_test() 310 if (thread) in rbb_test() 312 rt_thread_startup(thread); in rbb_test() 315 thread = rt_thread_create("rbb_get", get_thread, rbb, 1024, 10, 25); in rbb_test() 316 if (thread) in rbb_test() 318 rt_thread_startup(thread); in rbb_test()
|
| /examples/utest/ |
| A D | README.md | 18 …例。测试用例的编写方法参考文档中心[《utest 测试框架》章节](https://www.rt-thread.org/document/site/#/rt-thread-version/rt-t…
|
| /examples/utest/testcases/kernel/smp/ |
| A D | Kconfig | 4 bool "smp affinity and thread priority test1"
|
| /examples/utest/testcases/posix/pthread_h/definitions/ |
| A D | pthread_h.c | 53 int (*test_pthread_getcpuclockid)(pthread_t thread, clockid_t *clock_id); 81 int (*test_pthread_setschedprio)(pthread_t thread, int prio);
|