1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Fix assertion failure in ThreadPool::enqueue()

This commit is contained in:
Eelco Dolstra 2016-07-21 18:14:16 +02:00
parent d57981bac4
commit e682a8e138
2 changed files with 6 additions and 2 deletions

View file

@ -10,6 +10,8 @@
namespace nix {
MakeError(ThreadPoolShutDown, Error)
/* A simple thread pool that executes a queue of work items
(lambdas). */
class ThreadPool