Replace sw::MutexLock with std::mutex. Replace use of sw::Thread with std::thread. helgrind seems to take objection to the init Event. AtomicInt remains as a wrapper around std::atomic<int> as it provides an 'operator=' and 'std::atomic& operator=( const std::atomic& )' is deleted. This change is to reduce the amount of code I have to verify while looking for synchronization issues. Bug: b/133127573 Change-Id: I8cbe38c918298ffafaf59fe25b0ff258670f9a99 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31812Reviewed-by:Nicolas Capens <nicolascapens@google.com> Tested-by:
Ben Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| third_party/SPIRV-Tools | Loading commit data... | |
| ALL_BUILD.vcxproj | Loading commit data... | |
| ALL_BUILD.vcxproj.filters | Loading commit data... | |
| GLCompiler.vcxproj | Loading commit data... | |
| GLCompiler.vcxproj.filters | Loading commit data... | |
| OGLES2HelloAPI.vcxproj | Loading commit data... | |
| OGLES2HelloAPI.vcxproj.filters | Loading commit data... | |
| ReactorLLVM.vcxproj | Loading commit data... | |
| ReactorLLVM.vcxproj.filters | Loading commit data... | |
| ReactorUnitTests.vcxproj | Loading commit data... | |
| ReactorUnitTests.vcxproj.filters | Loading commit data... | |
| SwiftShader.sln | Loading commit data... | |
| SwiftShader.vcxproj | Loading commit data... | |
| SwiftShader.vcxproj.filters | Loading commit data... | |
| gles-unittests.vcxproj | Loading commit data... | |
| gles-unittests.vcxproj.filters | Loading commit data... | |
| libEGL.vcxproj | Loading commit data... | |
| libEGL.vcxproj.filters | Loading commit data... | |
| libGLES_CM.vcxproj | Loading commit data... | |
| libGLES_CM.vcxproj.filters | Loading commit data... | |
| libGLESv2.vcxproj | Loading commit data... | |
| libGLESv2.vcxproj.filters | Loading commit data... | |
| libvk_swiftshader.vcxproj | Loading commit data... | |
| libvk_swiftshader.vcxproj.filters | Loading commit data... | |
| llvm.vcxproj | Loading commit data... | |
| llvm.vcxproj.filters | Loading commit data... |