about summary refs log tree commit diff
path: root/src/libutil/thread-pool.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-21T16·14+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-21T16·14+0200
commite682a8e138c44e557c57a8dcf33555ad7790dd8c (patch)
tree5ededcfcb0d79cb5148b4ed54b8215b85383566d /src/libutil/thread-pool.hh
parentd57981bac488e5928218e0eaeae58bd817c74727 (diff)
Fix assertion failure in ThreadPool::enqueue()
Diffstat (limited to 'src/libutil/thread-pool.hh')
-rw-r--r--src/libutil/thread-pool.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/thread-pool.hh b/src/libutil/thread-pool.hh
index 78b63467d6..b64dc52d47 100644
--- a/src/libutil/thread-pool.hh
+++ b/src/libutil/thread-pool.hh
@@ -10,6 +10,8 @@
 
 namespace nix {
 
+MakeError(ThreadPoolShutDown, Error)
+
 /* A simple thread pool that executes a queue of work items
    (lambdas). */
 class ThreadPool