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

Method ThreadImpl

cpp/src/platform/winRT/ThreadImpl.cpp:45–63  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Constructor -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

43// Constructor
44//-----------------------------------------------------------------------------
45ThreadImpl::ThreadImpl
46(
47 Thread* _owner,
48 string const& _name
49):
50 m_owner( _owner ),
51 m_bIsRunning( false ),
52 m_name( _name )
53{
54 static bool staticsInitialized = false;
55 if (!staticsInitialized)
56 {
57 if (Options::Get() != nullptr)
58 {
59 Options::Get()->GetOptionAsInt("ThreadTerminateTimeout", &s_threadTerminateTimeout);
60 }
61 staticsInitialized = true;
62 }
63}
64
65//-----------------------------------------------------------------------------
66// <ThreadImpl::~ThreadImpl>

Callers

nothing calls this directly

Calls 2

GetOptionAsIntMethod · 0.80
GetFunction · 0.50

Tested by

no test coverage detected