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

Function utest_tc_init

examples/utest/testcases/mm/aspace_unmap_range_split.c:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static rt_err_t utest_tc_init(void)
46{
47 lwp = lwp_create(0);
48 if (lwp)
49 lwp_user_space_init(lwp, 1);
50 else
51 return -RT_ENOMEM;
52 return RT_EOK;
53}
54
55static rt_err_t utest_tc_cleanup(void)
56{

Callers

nothing calls this directly

Calls 2

lwp_createFunction · 0.85
lwp_user_space_initFunction · 0.85

Tested by

no test coverage detected