emscripten-core / emscripten-core/emscripten

Workers die after completing first task. TBB issue

Open
#24,412 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

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

We use tbb. 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.