Currently mr::Executor causes deadlock upon resizing.
This would be solved by either:
- improving existing thread pool solution.
- switching to off-the-shelf thread pool.
- throw this problem on the user.
The best way in my opinion is to:
- abstract underlying mr::Executor implementation.
- provide multiple implementations (existing, BS::thread_pool, inkooboo's thread pool)
- provide CMake options to choose, what implementation should be used (use the best by default).
Currently mr::Executor causes deadlock upon resizing.
This would be solved by either:
The best way in my opinion is to: