Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Front
Method
Front
libs/base/threaded_list.hpp:60–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
T Front(bool doPop)
61
{
62
std::unique_lock lock(m_condLock);
63
64
if (WaitNonEmptyOrCancel(lock))
65
return T();
66
67
T res = m_list.front();
68
69
if (doPop)
70
m_list.pop_front();
71
72
return res;
73
}
74
75
T Back(bool doPop)
76
{
Callers
9
PopFront
Method · 0.45
ProcessTasks
Method · 0.45
UNIT_TEST
Function · 0.45
Do
Method · 0.45
AssignRoute
Method · 0.45
TestRouter
Function · 0.45
Begin
Method · 0.45
Update
Method · 0.45
UNIT_TEST
Function · 0.45
Calls
1
front
Method · 0.80
Tested by
4
UNIT_TEST
Function · 0.36
Do
Method · 0.36
TestRouter
Function · 0.36
UNIT_TEST
Function · 0.36