On Mon, Mar 31, 2014 at 11:17 PM, Philip Guenther <guent...@gmail.com> wrote:
> You haven't convinced me the design needs fixing, nor have you proved > that the goal that you (sorta) describe can't already be solved with > the existing APIs. > "What problem are you trying to solve?" a) set VMIN = 250; don't read() very small blocks during bulk transfers b) set VTIME = 1; never wait more than 0.1 seconds for read() to return I found a worst case scenario that violates (b). I proved it by experiment and clearly described it. Not "sorta." With the existing design you cannot eliminate the worst case. But maybe I'm the only one who cares.