diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-21T16·14+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-21T16·14+0200 |
commit | e682a8e138c44e557c57a8dcf33555ad7790dd8c (patch) | |
tree | 5ededcfcb0d79cb5148b4ed54b8215b85383566d /src/libutil/thread-pool.hh | |
parent | d57981bac488e5928218e0eaeae58bd817c74727 (diff) |
Fix assertion failure in ThreadPool::enqueue()
Diffstat (limited to 'src/libutil/thread-pool.hh')
-rw-r--r-- | src/libutil/thread-pool.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/thread-pool.hh b/src/libutil/thread-pool.hh index 78b63467d62e..b64dc52d473e 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 |