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

Method WriteLockGuard

src/common/classes/rwlock.h:366–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364{
365public:
366 explicit WriteLockGuard(RWLock& alock, const char* aReason)
367 : lock(&alock)
368 {
369 lock->beginWrite(aReason);
370 }
371
372 explicit WriteLockGuard(RWLock* alock, const char* aReason)
373 : lock(alock)

Callers

nothing calls this directly

Calls 1

beginWriteMethod · 0.80

Tested by

no test coverage detected