Please sign in to comment.
Improvements to WorkQueueThread
- Do not use a lambda for std::thread as invoke constructor exists - Use simpler std::lock_guard wherever possible - Do not require T to be default constructible - Move T out of the queue instead of copying
- Loading branch information...
Showing with 9 additions and 10 deletions.