adjust wait timeout properties of ctrl process memory cache grab; don't wait forever to submit, don't wait if work was completed even if results bad, etc.

This commit is contained in:
Ryan Fleury
2025-05-20 13:03:58 -07:00
parent d709724128
commit 15459edc75
2 changed files with 41 additions and 8 deletions
-2
View File
@@ -164,7 +164,6 @@ async_task_join(ASYNC_Task *task)
internal ASYNC_Work
async_pop_work(void)
{
ProfBeginFunction();
ASYNC_Work work = {0};
B32 done = 0;
ASYNC_Priority taken_priority = ASYNC_Priority_Low;
@@ -199,7 +198,6 @@ async_pop_work(void)
}
os_condition_variable_broadcast(async_shared->ring_cv);
os_condition_variable_broadcast(async_shared->rings[taken_priority].ring_cv);
ProfEnd();
return work;
}