Skip to content

Wasm. Workers die after completing first task #1738

Open
@Alexufo

Description

@Alexufo

Version of emscripten/emsdk: 3.1.74
tbb*: 2022.1.0
Multithread build.

We use tbb with emscripten. We create a pool of workers. We submit the first task and get the result in 0.7 s (multithreading works)
Then all workers die and the next task runs on only one worker. 1.5 s (multithreading does not work)

Demo project
https://github.com/Liahimz/MinimalWasm

emscripten-core/emscripten#24412

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions