MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / Run

Method Run

cpp/src/platform/windows/ThreadImpl.cpp:147–157  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Entry point for running a function on this thread -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

145// Entry point for running a function on this thread
146//-----------------------------------------------------------------------------
147void ThreadImpl::Run
148(
149)
150{
151 m_bIsRunning = true;
152 m_pfnThreadProc( m_exitEvent, m_context );
153 m_bIsRunning = false;
154
155 // Let any watchers know that the thread has finished running.
156 m_owner->Notify();
157}
158

Callers 1

ThreadProcMethod · 0.45

Calls 1

NotifyMethod · 0.45

Tested by

no test coverage detected