Closed cdelabou closed 1 year ago
This PR will have to be adapted to not fail on MPS versions that do not have SystemBackgroundTaskScheduler and withTaskScheduler() method.
Merged separately, thanks!
The upcoming MPS 2021.3.5 is going to have additional parameter in an overloaded constructor of SystemBackgroundTaskScheduler
: the Executor
to use to launch BG tasks with. That option could be used to avoid deadlocks when any of the checkers launches a write action.
This only includes option to use the new parallel task scheduler for checkers Flags to choose number of used thread will come in a later PR
Dependencies were set to use 2021.3.4 which isn't yet released, it can be built locally from sources or downloaded from our teamcity.