MCPcopy Create free account
hub / github.com/creatale/node-dv / AutoLock

Class AutoLock

deps/opencv/modules/core/src/alloc.cpp:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158#endif //WIN32
159
160struct AutoLock
161{
162 AutoLock(CriticalSection& _cs) : cs(&_cs) { cs->lock(); }
163 ~AutoLock() { cs->unlock(); }
164 CriticalSection* cs;
165};
166
167const size_t MEM_BLOCK_SIGNATURE = 0x01234567;
168const int MEM_BLOCK_SHIFT = 14;

Callers 1

core.hppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected