SR-12766 [WebAssembly] Implement thread-aware SWIFT_ONCE_F when WASI SDK supports it
SR-12772 [WebAssembly] Implement exclusivity checking when WebAssembly supports multi-threading
SR-12774 [WebAssembly] Implement runtime TLS when WebAssembly supports multi-threading
SR-12790 [WebAssembly] Enable atomics in IRGen when WebAssembly has standardized atomics
Issue Description:
Currently threads and locking aren't supported on WASI. There's a threads proposal for WebAssembly and file locking is planned too. After those are implemented, WASI target should support these features.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 1 | |Component/s | Compiler | |Labels | New Feature, WebAssembly | |Assignee | @MaxDesiatov | |Priority | Medium | md5: 2e43381f1cab3570948fe2a318566be5Sub-Tasks:
Issue Description:
Currently threads and locking aren't supported on WASI. There's a threads proposal for WebAssembly and file locking is planned too. After those are implemented, WASI target should support these features.