Skip to content
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

Synchronize Rayon Max Threads with MT Executor #178

Open
th4s opened this issue Aug 28, 2024 · 0 comments
Open

Synchronize Rayon Max Threads with MT Executor #178

th4s opened this issue Aug 28, 2024 · 0 comments

Comments

@th4s
Copy link
Member

th4s commented Aug 28, 2024

In order to prevent deadlocks it is important that the number of parallel rayon threads is synchronized with the MT executor's number of threads.

One approach to do this would be to use local ThreadPools which are owned by MTContext.
It is important that there is a way to inject different types of threadpools to support browser environments.

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

1 participant