Skip to content

Make mr::Executor an adapter #12

@cone-forest

Description

@cone-forest

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions