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

Method registerModule

src/jrd/Database.cpp:366–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 }
365
366 void Database::registerModule(Module& module)
367 {
368 Sync sync(&dbb_modules_sync, FB_FUNCTION);
369 sync.lock(SYNC_SHARED);
370 if (dbb_modules.exist(module))
371 return;
372
373 sync.unlock();
374 sync.lock(SYNC_EXCLUSIVE);
375 if (!dbb_modules.exist(module))
376 dbb_modules.add(module);
377 }
378
379 void Database::ensureGuid(thread_db* tdbb)
380 {

Callers 6

lookupMethod · 0.45
registerMeMethod · 0.45
registerMeMethod · 0.45
FB_PLUGIN_ENTRY_POINTFunction · 0.45
registerMeMethod · 0.45
registerMeMethod · 0.45

Calls 4

lockMethod · 0.45
existMethod · 0.45
unlockMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected