swift
2dbbbcf6 - [Synchronization] Skip atomic operations in single-threaded mode on WebAssembly

Commit
1 year ago
[Synchronization] Skip atomic operations in single-threaded mode on WebAssembly Use of atomics instructions requires the support of threads proposal and it's not widely supported yet. So we should enable actual atomic operations only when targeting wasm32-uknown-wasip1-threads.
Committer
Parents
Loading