MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / utest_thread_create

Function utest_thread_create

components/utilities/utest/utest.c:344–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344static void utest_thread_create(const char *utest_name)
345{
346 rt_thread_t tid = RT_NULL;
347 tid = rt_thread_create("utest",
348 utest_thr_entry, (void *)utest_name,
349 UTEST_THREAD_STACK_SIZE, UTEST_THREAD_PRIORITY, 10);
350 if (tid != RT_NULL)
351 {
352 rt_thread_startup(tid);
353 }
354}
355
356#ifdef RT_UTEST_USING_AUTO_RUN
357static int utest_auto_run(void)

Callers 2

utest_auto_runFunction · 0.85
utest_testcase_runFunction · 0.85

Calls 2

rt_thread_createFunction · 0.85
rt_thread_startupFunction · 0.85

Tested by

no test coverage detected