aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scheduler.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-13 14:41:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-13 14:41:26 +0200
commitd018b131e1558c98f59fdb68da2b62602a320280 (patch)
tree3cd853f8e83aec7737c87e6525a564093144274a /libbuild2/scheduler.ixx
parentad9cdb9b172ecd7acf5e55b60f3f77626d72f14f (diff)
Rearrange inline function definitions to make MinGW GCC happy
Diffstat (limited to 'libbuild2/scheduler.ixx')
-rw-r--r--libbuild2/scheduler.ixx6
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,