Skip to content

SharedArrayBuffer atomic input? #67

@ChALkeR

Description

@ChALkeR

Currently, we accept Uint8Array<SharedArrayBuffer>, but operate on that assuming there are no races
When handled byte-by-byte, the input might get replaced from another thread

We should likely copy in an atomic way, even if that hurts perf - that's what whomever is using SharedArrayBuffer is likely expecting anyway and is the safer behavior

See also #66

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions