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

Function main_thread_entry

libcpu/sim/win32/startup_msvc.c:243–258  ·  view source on GitHub ↗

the system main thread */

Source from the content-addressed store, hash-verified

241
242/* the system main thread */
243void main_thread_entry(void *parameter)
244{
245 extern int main(void);
246
247#ifdef RT_USING_COMPONENTS_INIT
248 /* RT-Thread components initialization */
249 rt_components_init();
250#endif
251
252#ifdef RT_USING_SMP
253 rt_hw_secondary_cpu_up();
254#endif
255
256 /* invoke system main function */
257 main();
258}
259
260void rt_application_init(void)
261{

Callers

nothing calls this directly

Calls 3

rt_components_initFunction · 0.70
rt_hw_secondary_cpu_upFunction · 0.50
mainFunction · 0.50

Tested by

no test coverage detected