diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 14:54:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 14:54:53 +0200 |
commit | 92dd62e0e565f177ab5861a9511bc0e303f61a79 (patch) | |
tree | 6ce394a50f60fa148336dfac5fb1bda46bd79e85 /libbuild2/algorithm.ixx | |
parent | 542ad9696f50e33fa20e735c14c052720c55bc3a (diff) |
scheduler
Diffstat (limited to 'libbuild2/algorithm.ixx')
-rw-r--r-- | libbuild2/algorithm.ixx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/algorithm.ixx b/libbuild2/algorithm.ixx index 13a3323..9593ac0 100644 --- a/libbuild2/algorithm.ixx +++ b/libbuild2/algorithm.ixx @@ -547,9 +547,9 @@ namespace build2 execute_wait (action a, const target& t) { if (execute (a, t) == target_state::busy) - sched.wait (t.ctx.count_executed (), - t[a].task_count, - scheduler::work_none); + t.ctx.sched.wait (t.ctx.count_executed (), + t[a].task_count, + scheduler::work_none); return t.executed_state (a); } |