8000 Make mr::Executor an adapter · Issue #12 · 4J-company/mr-contractor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make mr::Executor an adapter #12

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
cone-forest opened this issue May 9, 2025 · 0 comments
Open

Make mr::Executor an adapter #12

cone-forest opened this issue May 9, 2025 · 0 comments

Comments

@cone-forest
Copy link
Contributor

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:

  1. abstract underlying mr::Executor implementation.
  2. provide multiple implementations (existing, BS::thread_pool, inkooboo's thread pool)
  3. provide CMake options to choose, what implementation should be used (use the best by default).
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
0