MCPcopy Create free account
hub / github.com/Tracktion/choc / reset

Method reset

choc/threading/choc_ThreadSafeFunctor.h:146–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145template <typename FunctionType>
146void ThreadSafeFunctor<FunctionType>::reset()
147{
148 std::scoped_lock l (callback->lock);
149 callback->fn = {};
150}
151
152} // namespace choc::threading
153

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected