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
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
The wasm threads spec is now addressing this. I don't think thread suspension during resizing is required there (because a maximum size is always needed and memory will generally be preallocated, or pre-reserved); rather, it seems that a new SAB object is allocated with a larger length field, so operations on the memory will see the old or new SAB. In either case, we'll move the discussion over there.
WebAssembly supports growing the memory's size, and obtaining its current size:
https://github.com/WebAssembly/design/blob/56e617e8144a8b750a1198871eb6d43fad182c21/AstSemantics.md#resizing
I assume all threads need to be suspended for a resize operation.
The text was updated successfully, but these errors were encountered: