MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~WaitThread

Method ~WaitThread

src/remote/remote.h:1718–1731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1716 { }
1717
1718 ~WaitThread()
1719 {
1720 if (waitFlag)
1721 {
1722 thread.waitForCompletion();
1723
1724 fb_assert(asyncPort);
1725
1726 if (asyncPort)
1727 asyncPort->releasePort();
1728 }
1729 else if (asyncPort)
1730 asyncPort->port_thread_guard = nullptr;
1731 }
1732
1733 rem_port* asyncPort;
1734 Thread thread;

Callers

nothing calls this directly

Calls 2

releasePortMethod · 0.80
waitForCompletionMethod · 0.45

Tested by

no test coverage detected