Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
_move_to_standbyq_atomic
Method · 0.45
dequeue_ready_atomic
Method · 0.45
resume_threads_inlined
Function · 0.45
ws_scan_standbyq
Function · 0.45
idler
Function · 0.45
wait_for_completion
Function · 0.45
Calls
1
empty
Method · 0.45
Tested by
1
wait_for_completion
Function · 0.36