Threadpool Refactor
Refactors cpr::ThreadPool to get rid of all those deadlocks and overly complex code making it at least a bit simpler.
Fixes:
- https://github.com/libcpr/cpr/issues/1040
- https://github.com/libcpr/cpr/issues/988
Docs:
- https://github.com/libcpr/docs/pull/54
Hi, I would like to suggest use a third thread pool implementation: https://github.com/bshoshany/thread-pool
Hi, I would like to suggest use a third thread pool implementation: https://github.com/bshoshany/thread-pool
Agree. If I'm unable to fix the macos socket issues, I will most likely switch and experiment with that one. Good point.
The ASIO thread pool is also a good choice.
The ASIO thread pool is also a good choice.
Yes! With ASIO threadpool we could get an awaitable Get/Post and use that within a boost coroutine. That would be nice to have.