MCPcopy Create free account
hub / github.com/acl-dev/acl / lock_guard

Method lock_guard

lib_acl_cpp/src/stdlib/locker.cpp:220–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218/////////////////////////////////////////////////////////////////////////////
219
220lock_guard::lock_guard(locker& lk)
221: lk_(lk)
222{
223 if (!lk_.lock()) {
224 abort();
225 }
226}
227
228lock_guard::~lock_guard(void)
229{

Callers

nothing calls this directly

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected