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

Method WaitForEventForever

Core/ConnectionSML/src/thread_OSspecific.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 pthread_mutex_destroy(&m_mutex);
187 }
188 void WaitForEventForever() {
189 pthread_mutex_lock(&m_mutex);
190 while(!m_signaled) {
191 pthread_cond_wait(&m_cond,&m_mutex);
192 }
193 m_signaled = false;
194 pthread_mutex_unlock(&m_mutex);
195 }
196
197 //The timeout is seconds + milliseconds, where milliseconds < 1000
198 bool WaitForEvent(int sec, int milli) {

Callers 5

WaitForEventForeverFunction · 0.45
SuspendFunction · 0.45
WaitForEventForeverFunction · 0.45
SuspendFunction · 0.45
get_lineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected