dawn-cmake/src
Corentin Wallez 3cd31e647c Metal: Prevent data race on mLastSubmittedCommands
There was a data-race between getting and using the pointer to
mLastSubmittedCommands in WaitForCommandsToBeScheduled and setting it
inside the scheduling handler.

Lock the mutex before calling waitUntilScheduled so that the object
doesn't get destroyed from underneath us.

Bug: chromium:1142024
Change-Id: Iadbf473530342de6d108d39285d723815452ac7c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31260
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2020-11-23 16:16:00 +00:00
..
common RefBase: remove implicit conversion to bool. 2020-11-18 09:10:22 +00:00
dawn Reland "Add a per-thread proc table using thread local storage" 2020-10-06 16:13:42 +00:00
dawn_native Metal: Prevent data race on mLastSubmittedCommands 2020-11-23 16:16:00 +00:00
dawn_platform D3D12: Support caching DX shaders. 2020-11-20 20:38:37 +00:00
dawn_wire Remove storage class specifier for the explicit template specialization 2020-11-20 09:38:56 +00:00
fuzzers Cleanup old/deprecated wire and native APIs 2020-10-16 15:21:16 +00:00
include D3D12: Support caching DX shaders. 2020-11-20 20:38:37 +00:00
tests D3D12: Support caching DX shaders. 2020-11-20 20:38:37 +00:00
utils Add WGPU_STRIDE_UNDEFINED and update bytesPerRow/rowsPerImage validation 2020-11-06 13:41:50 +00:00
Dummy.cpp Add missed file for the CMake build. 2020-02-07 23:46:30 +00:00