Skip to content

Is there any chance to use thread pool? #1099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Blame4 opened this issue Sep 27, 2021 · 1 comment
Open

Is there any chance to use thread pool? #1099

Blame4 opened this issue Sep 27, 2021 · 1 comment

Comments

@Blame4
Copy link

Blame4 commented Sep 27, 2021

If we can only use one work-thread, async/await may not be so useful. Using one work-thread for each individual work root might be wasting.Using multiple threads is not an urgent though. WASM is an option.

@samouri
Copy link
Member

samouri commented Sep 27, 2021

If we can only use one work-thread, async/await may not be so useful.

Can you explain more here? I don't understand why a single work-thread changes the equation. Things like fetch still happen in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants