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

Method Run

cpp/src/platform/unix/ThreadImpl.cpp:176–186  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

174// Entry point for running a function on this thread
175//-----------------------------------------------------------------------------
176void ThreadImpl::Run
177(
178)
179{
180 m_bIsRunning = true;
181 m_pfnThreadProc( m_exitEvent, m_pContext );
182 m_bIsRunning = false;
183
184 // Let any watchers know that the thread has finished running
185 m_owner->Notify();
186}

Callers 1

ThreadProcMethod · 0.45

Calls 1

NotifyMethod · 0.45

Tested by

no test coverage detected