gl: Fix a fence deadlock in fence::wait_for_signal

gl: Fix potential race condition when executing local work queue
This commit is contained in:
kd-11 2017-02-27 23:53:34 +03:00
parent cee53fcecf
commit 7062efeb3e
4 changed files with 9 additions and 7 deletions

View file

@ -54,7 +54,7 @@ namespace gl
task.cv.wait(lock, [&task] { return task.processed; });
}
verify(HERE), task.result == true;
task.received = true;
return task.result;
}