Closed adsr closed 9 years ago
This avoids assert(!"unreachable"); in the case where we try to read n=ENOUGH_DATA_FOR_PARSING bytes and get all n in one read. I noticed this while pasting a large chunk of text into a program blocked on tb_poll_event.
assert(!"unreachable");
n=ENOUGH_DATA_FOR_PARSING
n
tb_poll_event
Yeah, sorry, I wanted to implement it but was busy and stuff.. Will pull it now.
Thanks!
This avoids
assert(!"unreachable");
in the case where we try to readn=ENOUGH_DATA_FOR_PARSING
bytes and get alln
in one read. I noticed this while pasting a large chunk of text into a program blocked ontb_poll_event
.