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

Method shutdownConsumers

src/jrd/CryptoManager.cpp:793–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791 }
792
793 void CryptoManager::shutdownConsumers(thread_db* tdbb)
794 {
795 MutexLockGuard g(holdersMutex, FB_FUNCTION);
796
797 for (AttachmentsRefHolder::Iterator iter(keyConsumers); *iter; ++iter)
798 {
799 AttachmentAnySyncHolder a(*iter);
800 if (a.hasData())
801 a->signalShutdown(isc_db_crypt_key);
802 }
803
804 keyConsumers.clear();
805 }
806
807 void CryptoManager::blockingAstChangeCryptState()
808 {

Callers

nothing calls this directly

Calls 3

signalShutdownMethod · 0.80
hasDataMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected