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

Method doOnIdleTimer

src/jrd/Attachment.cpp:1079–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1077}
1078
1079void StableAttachmentPart::doOnIdleTimer(TimerImpl*)
1080{
1081 // Ensure attachment is still alive and still idle
1082
1083 EnsureUnlock<Sync, NotRefCounted> guard(*this->getSync(), FB_FUNCTION);
1084 if (!guard.tryEnter())
1085 return;
1086
1087 Attachment* att = this->getHandle();
1088 att->signalShutdown(isc_att_shut_idle);
1089 JRD_shutdown_attachment(att);
1090}
1091
1092JAttachment* Attachment::getInterface() throw()
1093{

Callers

nothing calls this directly

Calls 5

getSyncMethod · 0.95
getHandleMethod · 0.95
JRD_shutdown_attachmentFunction · 0.85
signalShutdownMethod · 0.80
tryEnterMethod · 0.45

Tested by

no test coverage detected