This solves #50 . It recycles reading buffers before all readers finish and then allocate those buffers back to solve the starvation problem cause by slow tasks occupy reading buffers for too long time.
Brief change log
Recycling reading buffers before all readers finish and then allocate those buffers back if needed.
What is the purpose of the change
This solves #50 . It recycles reading buffers before all readers finish and then allocate those buffers back to solve the starvation problem cause by slow tasks occupy reading buffers for too long time.
Brief change log
Verifying this change
This change added tests.