summaryrefslogtreecommitdiff
path: root/task.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-12 15:53:20 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-12 15:57:07 +0200
commit889106af4d8381ac188a6532625e2c642150220f (patch)
treef8c72a302cfd06b2f63a86fbd633fbdf9848caba /task.h
parent4fad20f754c754b6bd1cacadc3016babb3188bcf (diff)
Limit number of threads
Diffstat (limited to 'task.h')
-rw-r--r--task.h7
1 files changed, 1 insertions, 6 deletions
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<std::string> depends();
@@ -28,8 +25,6 @@ public:
std::filesystem::path targetFile;
std::filesystem::path depsFile;
- std::future<int> future;
-
const BuildConfiguration& config;
const Settings& settings;
};