MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / async_run

Method async_run

common/event-loop.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 __run();
39 }
40 virtual void async_run() override
41 {
42 if (m_state != STOP)
43 return;
44 m_state = RUNNING;
45 m_thread = thread_create(&_run, this);
46 }
47 static void* _run(void* loop)
48 {
49 static_cast<EventLoopImpl*>(loop)->__run();

Callers 4

sync_signal_initFunction · 0.80
initMethod · 0.80
startMethod · 0.80
exportfs_initFunction · 0.80

Calls 1

thread_createFunction · 0.85

Tested by

no test coverage detected