diff options
Diffstat (limited to 'libbuild2/scheduler.ixx')
-rw-r--r-- | libbuild2/scheduler.ixx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/scheduler.ixx b/libbuild2/scheduler.ixx index 4cf347c..96eaee1 100644 --- a/libbuild2/scheduler.ixx +++ b/libbuild2/scheduler.ixx @@ -18,6 +18,12 @@ namespace build2 return suspend (start_count, task_count); } + inline size_t scheduler:: + wait (const atomic_count& task_count, work_queue wq) + { + return wait (0, task_count, wq); + } + template <typename L> inline size_t scheduler:: wait (size_t start_count, |