MCPcopy Create free account
hub / github.com/anyRTC-UseCase/SipRtcProxy / XThreadBase

Method XThreadBase

src/XThreadBase.cpp:18–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16//////////////////////////////////////////////////////////////////////
17
18XThreadBase::XThreadBase()
19{
20#ifndef WIN32
21 sem_init(&m_semWaitForStop,0,1);
22 m_thread = 0;
23 m_bThreadStopped=true;
24#else
25 m_dwThreadID=0;
26 m_hThread=NULL;
27 m_evStop = CreateEvent(NULL,TRUE,TRUE,NULL);
28 SetEvent(m_evStop);
29#endif
30}
31
32XThreadBase::~XThreadBase()
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected