MCPcopy Create free account
hub / github.com/arrayfire/forge / initWtkIfNotDone

Function initWtkIfNotDone

src/backend/opengl/window_impl.cpp:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85static int initCallCount = -1;
86
87void initWtkIfNotDone()
88{
89 std::lock_guard<std::mutex> lock(initMutex);
90
91 initCallCount++;
92
93 if (initCallCount==0)
94 forge::wtk::initWindowToolkit();
95}
96
97void destroyWtkIfDone()
98{

Callers 1

window_implMethod · 0.85

Calls 1

initWindowToolkitFunction · 0.50

Tested by

no test coverage detected