MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / insert

Method insert

src/scheduler.cpp:176–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void SerialTaskRunner::insert(std::function<void()> func)
177{
178 {
179 LOCK(m_callbacks_mutex);
180 m_callbacks_pending.emplace_back(std::move(func));
181 }
182 MaybeScheduleProcessQueue();
183}
184
185void SerialTaskRunner::flush()
186{

Callers 15

AddUnbroadcastTxMethod · 0.45
mainFunction · 0.45
UseMultiprocessFunction · 0.45
WriteReplyMethod · 0.45
CreateChunkDataMethod · 0.45
AppendChunkFeeratesMethod · 0.45
SanityCheckMethod · 0.45
SkipMethod · 0.45
TrimMethod · 0.45
DiscourageMethod · 0.45

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected