diff options
Diffstat (limited to 'third_party/nix/src/libutil/thread-pool.hh')
-rw-r--r-- | third_party/nix/src/libutil/thread-pool.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/nix/src/libutil/thread-pool.hh b/third_party/nix/src/libutil/thread-pool.hh index 23527b907a21..71006238b363 100644 --- a/third_party/nix/src/libutil/thread-pool.hh +++ b/third_party/nix/src/libutil/thread-pool.hh @@ -11,11 +11,11 @@ namespace nix { -MakeError(ThreadPoolShutDown, Error) +MakeError(ThreadPoolShutDown, Error); - /* A simple thread pool that executes a queue of work items - (lambdas). */ - class ThreadPool { +/* A simple thread pool that executes a queue of work items + (lambdas). */ +class ThreadPool { public: ThreadPool(size_t maxThreads = 0); |