MCPcopy Create free account
hub / github.com/SoarGroup/Soar / StopEventThread

Method StopEventThread

Core/ClientSML/src/sml_ClientKernel.cpp:290–301  ·  view source on GitHub ↗

* @brief Stop the event thread. * * This thread can be used to make sure the client remains responsive * if it registers for some events and then goes to sleep. * (E.g. in a keyboard input handler or a GUI message loop). * * This thread is started by default for remote connections * and embedded connections in a new thread. A client could * reasonably choose to turn it off so we'll expose the met

Source from the content-addressed store, hash-verified

288* for starting and stopping.
289*************************************************************/
290bool Kernel::StopEventThread()
291{
292 // Shut down the event thread
293 if (!m_pEventThread)
294 {
295 return false ;
296 }
297
298 m_pEventThread->Stop(true) ;
299
300 return true ;
301}
302
303/*************************************************************
304* @brief Turning this on means we'll start dumping output about messages

Callers

nothing calls this directly

Calls 1

StopMethod · 0.80

Tested by

no test coverage detected