You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide low-level buildings blocks for pthreads-style shared memory: shared memory between threads, atomics and futexes.
New atomic memory operators, including loads/stores annotated with their atomic ordering property, will follow a model compatible with the C++11 memory model (with some differences), similarly to the PNaCl atomic support and the SharedArrayBuffer support in JavaScript. Even when there are data races, WebAssembly will ensure that the nondeterminism remains limited and local.
There is ongoing work to formalize the memory model used by SharedArrayBuffer. This can be used by WebAssembly threads, since both JavaScript and WebAssembly are intended to be able to communicate through SharedArrayBuffer.
The text was updated successfully, but these errors were encountered:
This is a tracking issue for a post-MVP feature
It will be updated as the issue progresses.
Topic threads
Champion Ben Smith @binji
Status in progress
Phase Feature proposal
Linked issues #992, #950, #730, #485, #314, #300, #104
Linked repositories github.com/WebAssembly/threads
Details
Provide low-level buildings blocks for pthreads-style shared memory: shared memory between threads, atomics and futexes.
New atomic memory operators, including loads/stores annotated with their atomic ordering property, will follow a model compatible with the C++11 memory model (with some differences), similarly to the PNaCl atomic support and the SharedArrayBuffer support in JavaScript. Even when there are data races, WebAssembly will ensure that the nondeterminism remains limited and local.
There is ongoing work to formalize the memory model used by SharedArrayBuffer. This can be used by WebAssembly threads, since both JavaScript and WebAssembly are intended to be able to communicate through SharedArrayBuffer.
The text was updated successfully, but these errors were encountered: