MCPcopy Create free account
hub / github.com/davisking/dlib / pause

Method pause

dlib/threads/multithreaded_object_extension.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133// ----------------------------------------------------------------------------------------
134
135 void multithreaded_object::
136 pause (
137 )
138 {
139 auto_mutex M(m_);
140 is_running_ = false;
141 }
142
143// ----------------------------------------------------------------------------------------
144

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected