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
threads: add atomic versions of global.get|set (#1483)
* threads: add atomic versions of `global.get|set`
The shared-everything-threads [proposal] allows marking globals as
`shared` and thus adds `global.atomic.get|set` for choosing the memory
ordering of these accesses. These changes also include the memory
`ordering` flags for marking accesses as sequentially consistent
(`seq_cst`) or acquire-release (`acq_rel`).
[proposal]: https://github.com/WebAssembly/shared-everything-threads
* review: use variable u32 encoding for ordering
* Allow subtypes of `anyref`
* Tighten up subtyping of declared globals; improve tests
* Fix typo
* review: fix type check to use `anyref`
* fix: remove special validation of global type
* review: check shared-ness of global type
0 commit comments