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

Method Start

Core/ConnectionSML/src/thread_Thread.cpp:45–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void Thread::Start()
46{
47 // If we've already been started ignore subsequent attempts
48 // to start this thread.
49 if (m_Started)
50 {
51 return ;
52 }
53
54 m_Stopped = false;
55 m_Started = true ;
56 // This creates a new thread and calls our static start function which in
57 // turn calls back to the "Run" method of this class, so the user of the thread
58 // has a nice object wrapped in a class to work with for their thread.
59 BeginThread(ThreadStartFunction, this) ;
60}
61
62void Thread::Stop(bool waitTillStopped)
63{

Callers 4

ConnectionManagerMethod · 0.80
KernelMethod · 0.80
StartEventThreadMethod · 0.80
initializeMethod · 0.80

Calls

no outgoing calls

Tested by 1

initializeMethod · 0.64