Skip to content

Please implement Atomics.waitAsync as well! #20

Closed
@tlively

Description

@tlively

The stage 3 Atomics.waitAsync proposal combined with JSPI will allow Emscripten to stop busy-waiting for locks, condition variables, and other blocking synchronization primitives on the main thread, which will be a great win for performance and efficiency for large, multithreaded applications. It would be great if we could assume that the presence of JSPI implied the presence of Atomics.waitAsync across browsers so we don't have to maintain a polyfill or continue busy waiting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions