def _send_queued_packets(self, session):
        with self._lock:
            while session._send_queue and session._seq_num_for_send < session._high_water_for_send:
                data = session._send_queue.pop(0)
                self._send_packet(session, data)
dataset/ETHPy150Open denisenkom/pytds/pytds/smp.py/SmpManager._send_queued_packets/original