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

Method cancelConnections

src/jrd/extds/ExtDS.cpp:562–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562void Provider::cancelConnections()
563{
564 MutexLockGuard guard(m_mutex, FB_FUNCTION);
565
566 AttToConnMap::Accessor acc(&m_connections);
567 if (acc.getFirst())
568 {
569 do
570 {
571 Connection* conn = acc.current().m_conn;
572 conn->cancelExecution(false);
573 } while (acc.getNext());
574 }
575}
576
577// Connection
578

Callers 1

shutdownMethod · 0.80

Calls 4

getFirstMethod · 0.45
currentMethod · 0.45
cancelExecutionMethod · 0.45
getNextMethod · 0.45

Tested by

no test coverage detected