MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ReadLockGuard

Method ReadLockGuard

src/common/classes/rwlock.h:327–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325{
326public:
327 explicit ReadLockGuard(RWLock& alock, const char* aReason)
328 : lock(&alock)
329 {
330 lock->beginRead(aReason);
331 }
332
333 explicit ReadLockGuard(RWLock* alock, const char* aReason)
334 : lock(alock)

Callers

nothing calls this directly

Calls 1

beginReadMethod · 0.80

Tested by

no test coverage detected