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

Function heavy_complete

rpc/test/test-ooo.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112int heavy_complete(void*, OutOfOrderContext* args) {
113 while (processing_queue.empty()) { thread_yield(); } //waiting till something comming
114 args->tag = processing_queue.front();
115 processing_queue.pop();
116 return 0;
117}
118
119int process_thread() {
120 while (issue_list.size()) {

Callers

nothing calls this directly

Calls 4

thread_yieldFunction · 0.85
emptyMethod · 0.45
frontMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected