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

Method front

thread/thread.cpp:373–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 public:
372 std::vector<thread *> q;
373 thread* front() const
374 {
375 assert(!q.empty());
376 return q.front();
377 }
378 bool empty() const
379 {
380 return q.empty();

Callers 6

dequeue_ready_atomicMethod · 0.45
resume_threads_inlinedFunction · 0.45
ws_scan_standbyqFunction · 0.45
idlerFunction · 0.45
wait_for_completionFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by 1

wait_for_completionFunction · 0.36