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

Function clear_queue

src/remote/client/interface.cpp:8433–8454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8431
8432
8433static void clear_queue(rem_port* port)
8434{
8435/**************************************
8436 *
8437 * c l e a r _ q u e u e
8438 *
8439 **************************************
8440 *
8441 * Functional description
8442 * Clear the queue of batched packets - in preparation
8443 * for waiting for a specific response, or when we are
8444 * about to reuse an internal request.
8445 * Return codes:
8446 * true - no errors.
8447 * false - Network error occurred, error code in status
8448 **************************************/
8449
8450 while (port->port_receive_rmtque)
8451 {
8452 receive_queued_packet(port, (USHORT) -1);
8453 }
8454}
8455
8456
8457static void finalize(rem_port* port)

Callers 7

defer_packetFunction · 0.85
executeMethod · 0.85
freeClientDataMethod · 0.85
prepareMethod · 0.85
startAndSendMethod · 0.85
startMethod · 0.85
receive_packetFunction · 0.85

Calls 1

receive_queued_packetFunction · 0.85

Tested by

no test coverage detected