Skip to content

Work stealing #7

@oschonrock

Description

@oschonrock

Thank you for writing and publishing this thread pool implementation. It seems like a glaring hole in the C++ STL / Boost etc. As it stands std::async is totally unusable (runs "deferred" or one thread per task and blows up). C++20 offers "new futures", but no task launching/scheduling as far as I can see.

So a pool is totally necessary!

I noticed that your ReadMe says "TODO work stealing". Does you pool take this Sean Parent talk into account?

https://www.youtube.com/watch?v=zULU6Hhp42w&feature=emb_logo

This blog has a minimal implementation which does:

https://vorbrodt.blog/2019/02/27/advanced-thread-pool/
https://github.com/mvorbrodt/blog

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions