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

Method release

src/jrd/trace/TraceConfigStorage.cpp:332–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332void ConfigStorage::release()
333{
334 fb_assert(m_sharedMemory);
335
336 fb_assert(m_recursive > 0);
337 fb_assert(m_mutexTID == getThreadId());
338
339 if (--m_recursive == 0)
340 {
341 checkDirty();
342 m_mutexTID = 0;
343 m_sharedMemory->mutexUnlock();
344 }
345}
346
347ULONG ConfigStorage::allocSlot(ULONG slotSize)
348{

Callers 4

~StorageGuardMethod · 0.45
update_sessionsMethod · 0.45
TraceManager.cppFile · 0.45
~SessionsMethod · 0.45

Calls 2

getThreadIdFunction · 0.85
mutexUnlockMethod · 0.80

Tested by

no test coverage detected