Skip to content

Reduce use of postmessage #2

@TrueDoctor

Description

@TrueDoctor
  • Wasm has the atomic wait and atomic notify functions, it should be possible for the workers to wait until woken up to reduce the use of postmessage calls.
  • Could it also be made possible to have wasm-bindgen as an optional dependency?
    We are working on a web game and consider using anmethyst or rather SPECS as our ECS.
  • Is the run_notify used in any way by rayon, or could this be omitted for simplicity?

I'll try to fork this when I get around to implementing our thread pool

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