Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daniele77/cli
/ Post
Method
Post
include/cli/loopscheduler.h:77–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
}
76
77
void Post(const std::function<void()>& f) override
78
{
79
std::lock_guard<std::mutex> lck (mtx);
80
tasks.push(f);
81
cv.notify_all();
82
}
83
84
bool ExecOne()
85
{
Callers
5
SchedulingTest
Function · 0.45
SameThreadTest
Function · 0.45
ExceptionTest
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
Calls
no outgoing calls
Tested by
5
SchedulingTest
Function · 0.36
SameThreadTest
Function · 0.36
ExceptionTest
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36