899900901902903904905906907908909
if (link.getDrain()) { if (!link.draining()) { // drain completed for this link int drained = link.drained(); assert(_distributed >= drained); _distributed -= drained; _credit += drained; link.setDrain(false); _draining--;
947948949950951952953954955956957