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

Function poll_engine

io/fstack-dpdk.cpp:215–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213static thread_local MasterEventEngine* g_engine = nullptr;
214
215static int poll_engine(void* arg) {
216 assert(g_engine != nullptr);
217 g_engine->wait_and_fire_events(0);
218 thread_yield();
219 return 0;
220}
221
222int fstack_dpdk_init() {
223 LOG_INFO("Init f-stack dpdk engine");

Callers

nothing calls this directly

Calls 2

thread_yieldFunction · 0.85
wait_and_fire_eventsMethod · 0.45

Tested by

no test coverage detected