MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / stop

Method stop

src/scheduler.cpp:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void CScheduler::stop(bool drain)
95{
96 {
97 boost::unique_lock<boost::mutex> lock(newTaskMutex);
98 if (drain)
99 stopWhenEmpty = true;
100 else
101 stopRequested = true;
102 }
103 newTaskScheduled.notify_all();
104}
105
106void CScheduler::schedule(CScheduler::Function f, boost::chrono::system_clock::time_point t)
107{

Callers 6

BOOST_AUTO_TEST_CASEFunction · 0.45
requestShutdownMethod · 0.45
stopAutoRefreshMethod · 0.45
setGraphRangeMinsMethod · 0.45
clearMethod · 0.45
countDownMethod · 0.45

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36