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

Method ThreadProc

cpp/src/platform/unix/ThreadImpl.cpp:158–170  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

156// Entry point for running a function on this thread
157//-----------------------------------------------------------------------------
158void *ThreadImpl::ThreadProc
159(
160 void* _pArg
161)
162{
163 ThreadImpl* pImpl = (ThreadImpl*)_pArg;
164 //fprintf(stderr, "thread %s run begin %08x running %d\n", pImpl->m_name.c_str(), pImpl->m_hThread, pImpl->m_bIsRunning );
165 //fflush(stderr);
166 pImpl->Run();
167 //fprintf(stderr, "thread %s run end %08x running %d\n", pImpl->m_name.c_str(), pImpl->m_hThread, pImpl->m_bIsRunning );
168 //fflush(stderr);
169 return 0;
170}
171
172//-----------------------------------------------------------------------------
173// <ThreadImpl::Run>

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected