mpz
mpz copied to clipboard
Synchronize Rayon Max Threads with MT Executor
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.