[*] amend write ahead check
This commit is contained in:
parent
ac4968512b
commit
e2f16091d9
@ -262,7 +262,7 @@ namespace Aurora::IO
|
||||
|
||||
// attempt low-latency read-ahead
|
||||
if (!this->bWritingAheadLowLatency &&
|
||||
this->buffer_.RemainingWrite(this->uFrameCap_) /*ensure we can run ahead*/ &&
|
||||
this->buffer_.CanWrite(this->uFrameCap_) /*ensure we can run ahead*/ &&
|
||||
!this->IsAtRequestedEnd() /*do not preemptively terminate before the last callback is fired*/)
|
||||
{
|
||||
this->bWritingAheadLowLatency = true;
|
||||
|
Loading…
Reference in New Issue
Block a user