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

Method remove

src/remote/server/server.cpp:7342–7361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7340}
7341
7342void Worker::remove()
7343{
7344 if (!m_active && (m_next || m_prev || m_idleWorkers == this)) {
7345 m_cntIdle--;
7346 }
7347
7348 if (m_idleWorkers == this) {
7349 m_idleWorkers = this->m_next;
7350 }
7351 if (m_activeWorkers == this) {
7352 m_activeWorkers = this->m_next;
7353 }
7354 if (m_next) {
7355 m_next->m_prev = this->m_prev;
7356 }
7357 if (m_prev) {
7358 m_prev->m_next = this->m_next;
7359 }
7360 m_prev = m_next = NULL;
7361}
7362
7363void Worker::insert(const bool active)
7364{

Callers 8

forkThreadFunction · 0.45
unRegisterPortMethod · 0.45
getLocalInfoMethod · 0.45
receive_packet_noqueueFunction · 0.45
release_blobFunction · 0.45
end_statementMethod · 0.45
release_blobFunction · 0.45
release_statementFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected