cache: improved queue performance and stability

This commit is contained in:
itsmattkc
2021-03-25 16:57:15 +11:00
parent b137b8e0ac
commit 9b49bea096
6 changed files with 55 additions and 49 deletions
+9
View File
@@ -70,6 +70,15 @@ bool RenderTicketWatcher::IsFinished()
}
}
bool RenderTicketWatcher::HasStarted()
{
if (ticket_) {
return ticket_->HasStarted();
} else {
return false;
}
}
void RenderTicketWatcher::WaitForFinished()
{
if (ticket_) {