Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 678410 Adds a new JavaScript type SharedArrayBuffer, and Atomic API to access it
Starred by 10 users Project Member Reported by binji@chromium.org, Jan 4 Back to list
Status: Duplicate
Merged: issue 709179
Owner:
Closed: Apr 26
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Launch-OWP
Launch-Accessibility: ----
Launch-Legal: ----
Launch-M-Approved: ----
Launch-M-Target: ----
Launch-Privacy: ----
Launch-Security: ----
Launch-Status: ----
Launch-Test: ----
Launch-UI: ----


Participants' hotlists:
Wasm-M59


Sign in to add a comment
Change description:
Adds a new JavaScript type SharedArrayBuffer. SharedArrayBuffers can be sent to Workers and without neutering the sent buffer. The underlying buffer will be shared between the workers. The Atomic API provides atomic loads and stores and Read/Modify/Write accesses to SharedArrayBuffers. The Futex API provides the ability for a worker to wait for another worker to signal it, without having to spin-loop.

Changes to API surface:
Adds SharedArrayBuffer constructor
Adds top-level Atomics object
Modifies postMessage to allow passing SharedArrayBuffer and SharedArrayBuffer-backed typed arrays

Links:
Public standards discussion: https://github.com/tc39/ecmascript_sharedmem

Support in other browsers:
Edge: Experimental, behind a flag: https://github.com/Microsoft/ChakraCore/wiki/Release-Notes#v140
Firefox: In Firefox nightly: https://bugzilla.mozilla.org/show_bug.cgi?id=1312446
Safari: Tech Preview 20: https://developer.apple.com/safari/technology-preview/release-notes/

 
Mergedinto: 709179
Status: Duplicate
Sign in to add a comment