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

Method func

components/libc/cplusplus/os/cxx_Thread.cpp:76–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void Thread::func(Thread *pThis)
77{
78 if (pThis->_entry != RT_NULL)
79 {
80 pThis->_entry(pThis->_param);
81 }
82 else
83 {
84 pThis->run(pThis->_param);
85 }
86
87 rt_event_send(&pThis->_event, 1);
88}
89
90void Thread::run(void *parameter)
91{

Callers 15

_do_glob_requestFunction · 0.80
_do_requestFunction · 0.80
rt_smp_call_requestFunction · 0.80
client_parserFunction · 0.80
appm_get_handlerFunction · 0.80
USBDCore_IRQHandlerFunction · 0.80
USBDCore_MainRoutineFunction · 0.80
_USBDCore_PowerHandlerFunction · 0.80
_USBDCore_ControlOUTFunction · 0.80
USBDCore_MainRoutineFunction · 0.80
USBDCore_IRQHandlerFunction · 0.80
USBDCore_MainRoutineFunction · 0.80

Calls 2

rt_event_sendFunction · 0.85
runMethod · 0.45

Tested by 1

run_all_testsFunction · 0.64