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

Method StartEventThread

Core/ClientSML/src/sml_ClientKernel.cpp:264–276  ·  view source on GitHub ↗

* @brief Start 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 me

Source from the content-addressed store, hash-verified

262* for starting and stopping.
263*************************************************************/
264bool Kernel::StartEventThread()
265{
266 // This thread is used to listen for events from the kernel
267 // when the client is sleeping
268 if (!m_pEventThread)
269 {
270 return false ;
271 }
272
273 m_pEventThread->Start() ;
274
275 return true ;
276}
277
278/*************************************************************
279* @brief Stop the event thread.

Callers

nothing calls this directly

Calls 1

StartMethod · 0.80

Tested by

no test coverage detected