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

Method unLockIO

src/jrd/cch.cpp:5284–5298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5282
5283
5284void BufferDesc::unLockIO(thread_db* tdbb)
5285{
5286 fb_assert(bdb_io && bdb_io == tdbb);
5287 fb_assert(bdb_io_locks > 0);
5288
5289 if (!bdb_io->clearBdb(this))
5290 return;
5291
5292 --bdb_use_count;
5293
5294 if (--bdb_io_locks == 0)
5295 bdb_io = NULL;
5296
5297 bdb_syncIO.unlock(NULL, SYNC_EXCLUSIVE);
5298}
5299
5300
5301namespace Jrd {

Callers 6

CCH_handoffFunction · 0.80
CCH_markFunction · 0.80
CCH_releaseFunction · 0.80
CCH_unwindFunction · 0.80
down_gradeFunction · 0.80
write_bufferFunction · 0.80

Calls 2

clearBdbMethod · 0.80
unlockMethod · 0.45

Tested by

no test coverage detected