From 889106af4d8381ac188a6532625e2c642150220f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 12 Jun 2021 15:53:20 +0200 Subject: Limit number of threads --- task.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'task.h') diff --git a/task.h b/task.h index ac56e8a..ee67b5c 100644 --- a/task.h +++ b/task.h @@ -16,10 +16,7 @@ public: const Settings& settings, const std::string& source); - void start(); - - int wait(); - + int run(); int clean(); std::vector depends(); @@ -28,8 +25,6 @@ public: std::filesystem::path targetFile; std::filesystem::path depsFile; - std::future future; - const BuildConfiguration& config; const Settings& settings; }; -- cgit v1.2.3