MCPcopy Create free account
hub / github.com/crossuo/crossuo / Run

Method Run

src/Wisp/WispThread.cpp:111–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void CThread::Run(bool cycled, int delay, bool synchronizedDelay)
112{
113 if (!m_Active && m_Handle == 0)
114 {
115 m_Cycled = cycled;
116 m_Delay = delay;
117 m_Active = true;
118 if (synchronizedDelay)
119 {
120 m_Handle = SDL_CreateThread(
121 CThreadLoopSynchronizedDelay, "CThreadLoopSynchronizedDelay", (void *)this);
122 }
123 else
124 {
125 m_Handle = SDL_CreateThread(CThreadLoop, "CThreadLoop", (void *)this);
126 }
127 }
128}
129
130bool CThread::IsActive()
131{

Callers 4

ParsePacketMethod · 0.45
ProcessMethod · 0.45
mainFunction · 0.45
GetGroupForAnimationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected