MCPcopy Create free account
hub / github.com/comaps/comaps / Drop

Method Drop

libs/base/deferred_task.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void DeferredTask::Drop()
42{
43 {
44 std::unique_lock l(m_mutex);
45 m_fn = nullptr;
46 }
47 m_cv.notify_one();
48}
49} // namespace base

Callers 3

PreSerializeMethod · 0.45
UNIT_TESTFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

UNIT_TESTFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36