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

Function DEQUEUE

src/jrd/lck.cpp:162–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162inline void DEQUEUE(thread_db* tdbb, Lock* lock)
163{
164 Database* const dbb = tdbb->getDatabase();
165
166 if (lock->lck_compatible)
167 internal_dequeue(tdbb, lock);
168 else
169 dbb->lockManager()->dequeue(lock->lck_id);
170}
171
172inline USHORT DOWNGRADE(thread_db* tdbb, Lock* lock)
173{

Callers 1

LCK_releaseFunction · 0.85

Calls 4

internal_dequeueFunction · 0.85
getDatabaseMethod · 0.80
lockManagerMethod · 0.80
dequeueMethod · 0.45

Tested by

no test coverage detected