Skip to content
Snippets Groups Projects
Commit b1663e74 authored by Craig Tiller's avatar Craig Tiller
Browse files

Remove a major source of contention in thread_pool

- notify_one when new work is available to avoid thundering herd
  problems
- checking conditions before entering cv_.wait() prevents a case that
  these are not validated
parent 72784331
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment