general: fix compile for Apple Clang

This commit is contained in:
Liam 2022-11-21 11:31:18 -05:00
parent 8c78a8f003
commit 5a712bb51a
79 changed files with 952 additions and 37 deletions

View file

@ -125,7 +125,7 @@ u64 ThreadManager::PushCommand(CommandData&& command_data, bool block) {
state.queue.Push(CommandDataContainer(std::move(command_data), fence, block));
if (block) {
state.cv.wait(lk, thread.get_stop_token(), [this, fence] {
Common::CondvarWait(state.cv, lk, thread.get_stop_token(), [this, fence] {
return fence <= state.signaled_fence.load(std::memory_order_relaxed);
});
}