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

Method signalShutdown

src/jrd/Attachment.cpp:646–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644
645
646void Jrd::Attachment::signalShutdown(ISC_STATUS code)
647{
648 att_flags |= ATT_shutdown;
649 if (getStable())
650 getStable()->setShutError(code);
651
652 if (att_ext_connection && att_ext_connection->isConnected())
653 att_ext_connection->cancelExecution(true);
654
655 LCK_cancel_wait(this);
656}
657
658
659void Jrd::Attachment::mergeStats(bool pageStatsOnly)

Callers 6

shutdownConsumersMethod · 0.80
freeEngineDataMethod · 0.80
shutdownAttachmentsFunction · 0.80
JRD_cancel_operationFunction · 0.80
blockingAstShutdownMethod · 0.80
doOnIdleTimerMethod · 0.80

Calls 4

LCK_cancel_waitFunction · 0.85
setShutErrorMethod · 0.80
isConnectedMethod · 0.45
cancelExecutionMethod · 0.45

Tested by

no test coverage detected