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

Method endRead

src/common/classes/rwlock.h:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170 }
171 void endRead()
172 {
173 if (--lock == 0)
174 unblockWaiting();
175 }
176 void endWrite()
177 {
178 if (lock.exchangeAdd(LOCK_WRITER_OFFSET) == -LOCK_WRITER_OFFSET)

Callers 5

releaseMethod · 0.80
lockStateReadMethod · 0.80
unlockStateReadMethod · 0.80
~FileExtendLockGuardMethod · 0.80
releaseMethod · 0.80

Calls 2

raiseFunction · 0.85
exchangeAddMethod · 0.80

Tested by

no test coverage detected