A ThreadPool library in C++

前端 未结 6 479
日久生厌
日久生厌 2021-01-19 23:05

I am looking for a good and stable threadpool library for C++ that\'s fairly well documented. I know about the Native Windows thread pool API and the newer Vista Thread Poo

相关标签:
6条回答
  • 2021-01-19 23:21

    Intel TBB is another threading library that has some neat stuff. I find the framework for evaluating a tree of expressions in parallell especially nice.

    0 讨论(0)
  • 2021-01-19 23:24

    With respect to the boost thread pool: this link might be useful: http://think-async.com/Asio/Recipes

    0 讨论(0)
  • 2021-01-19 23:25

    A portable threadpool library that claims to be 'production ready'. You may want to check that out.

    0 讨论(0)
  • 2021-01-19 23:30

    There's also ACE which does thread-pooling over networks, so it's a fair bit more complex. (but deserves mentioning here, IMO)

    0 讨论(0)
  • 2021-01-19 23:31

    Qt has a threading library with some nice high-level operations like map/reduce etc, as well as low-level threading stuff and thread-pool support.

    Qt might be a bit big for you though, but you can use a part of it pretty easily.

    0 讨论(0)
  • 2021-01-19 23:42

    Have a look at the ThreadPool and TaskManager classes from the Poco C++ libraries.

    0 讨论(0)
提交回复
热议问题