Intent to Ship: Atomics.waitAsync

124 views
Skip to first unread message

Marja Hölttä

unread,
Sep 11, 2020, 7:54:37 AM9/11/20
to blin...@chromium.org

Contact emails

s...@chromium.org, ma...@chromium.org


Explainer


https://github.com/tc39/proposal-atomics-wait-async/blob/master/PROPOSAL.md


Draft text for an explainer to be published at v8.dev: https://docs.google.com/document/d/1swIcNkV6sJq-dTdcvcE582BG140thzHlzzOAo1eZpbE/edit#heading=h.ttltot7z6ow9


https://github.com/v8/v8.dev/pull/468


Specification

https://tc39.es/proposal-atomics-wait-async/


Design docs


Version 1


Version 2


TAG review

Not applicable. Scoped JS feature with limited interaction with other web platform features.


Summary

Adds Atomics.waitAsync, the async version of Atomics.wait. Atomics.waitAsync allows programmers to wait on a SharedArrayBuffer location in the same fashion as Atomics.wait but returns a Promise instead.


Risks


Interoperability and Compatibility

Low. This is a stage 3 feature in TC39.


Gecko: Positive (https://bugzilla.mozilla.org/show_bug.cgi?id=1467846) Feature reached Stage 3 in TC39. Bug doesn't seem to have activity. Lars Hansen, who works at Mozilla, is a champion of this proposal. Request for position: https://github.com/mozilla/standards-positions/issues/433


WebKit: Positive Feature reached Stage 3 in TC39. Request for position: https://lists.webkit.org/pipermail/webkit-dev/2020-August/031367.html


Web developers: No signals



Debuggability

This feature is based on Promises, so the already existing Dev Tools features for debugging Promises apply.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes


Is this feature fully tested by web-platform-tests?

No


Tested by test262: https://github.com/tc39/test262/tree/main/test/built-ins/Atomics/waitAsync


Tracking bug

https://bugs.chromium.org/p/v8/issues/detail?id=10239


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6243382101803008



--


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.

    

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.


Yoav Weiss

unread,
Sep 14, 2020, 12:27:02 AM9/14/20
to Marja Hölttä, blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAED6dUB61suiy%2BtezABbXhAHUSt_8HBnCQjoQmjxupX482KesQ%40mail.gmail.com.

Chris Harrelson

unread,
Sep 14, 2020, 12:47:04 AM9/14/20
to Yoav Weiss, Marja Hölttä, blink-dev

Manuel Rego Casasnovas

unread,
Sep 14, 2020, 4:45:00 AM9/14/20
to Chris Harrelson, Yoav Weiss, Marja Hölttä, blink-dev
LGTM3

On 14/09/2020 06:46, Chris Harrelson wrote:
> LGTM2
>
> On Sun, Sep 13, 2020 at 9:26 PM Yoav Weiss <yo...@yoav.ws
> <mailto:yo...@yoav.ws>> wrote:
>
> LGTM1
>
> On Fri, Sep 11, 2020 at 1:54 PM Marja Hölttä <ma...@chromium.org
> <mailto:ma...@chromium.org>> wrote:
>
>
> Contact emails
>
> s...@chromium.org <mailto:s...@chromium.org>, ma...@chromium.org
> <mailto:ma...@chromium.org>
>
>
> Explainer
>
>
> https://github.com/tc39/proposal-atomics-wait-async/blob/master/PROPOSAL.md
>
>
> Draft text for an explainer to be published at v8.dev
> <http://v8.dev>:
> <https://docs.google.com/document/d/1dthXsVHMc1Sd_oYf9a-KZSFOd_a8dUgnt4REAG8YIXA/edit?usp=sharing>
>
>
> Version 2
> <https://docs.google.com/document/d/1aeEGDm1XSqoJkQQKz9F75WqnuAa2caktxGy_O_KpO9Y/edit?usp=sharing>
> <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>?
> <mailto:blink-dev+...@chromium.org>.
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAED6dUB61suiy%2BtezABbXhAHUSt_8HBnCQjoQmjxupX482KesQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to blink-dev+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEghFVmwb-qA-2ByHXf6RDfK4pems%2BWQ9kUvCXFz-MSvhw%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEghFVmwb-qA-2ByHXf6RDfK4pems%2BWQ9kUvCXFz-MSvhw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to blink-dev+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_aZMCzp5QYYvT%3DrVv5neLPKr1wWKtN-R9y-s%3DCQcQ_hA%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_aZMCzp5QYYvT%3DrVv5neLPKr1wWKtN-R9y-s%3DCQcQ_hA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages