Skip to content

Modern C++ Threads #97

@fabianegli

Description

@fabianegli

Comet uses a custom Thread Pool implemented with older standards which did not have some of the amenities afforded in C++17 and higher which make Threads Pools safer and more efficient. To prevent much of the work to adapt the current code to the new standards, one could use an existing Thread Pool library instead. There is one which is specifically tailored to scientific computing, easy to use which covers the needs of Comet, as far as I can tell. This would be the BS::thread_pool: a fast, lightweight, modern, and easy-to-use C++17 / C++20 / C++23 thread pool library.

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