diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 08:02:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 08:02:15 +0200 |
commit | 6cc8301e4fb819393c1245cea0fbfb89e69b90b4 (patch) | |
tree | 33e20e06841b107600dfa9bce551ef9d723be497 /build2/cc/compile-rule.cxx | |
parent | 604cef5bc09a2c4631eb3948dd788381dc5b4edb (diff) |
Meta/operations and counts
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r-- | build2/cc/compile-rule.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index f600f76..6902bb6 100644 --- a/build2/cc/compile-rule.cxx +++ b/build2/cc/compile-rule.cxx @@ -698,7 +698,7 @@ namespace build2 // Start asynchronous matching of prerequisites. Wait with unlocked // phase to allow phase switching. // - wait_guard wg (t.ctx, target::count_busy (), t[a].task_count, true); + wait_guard wg (t.ctx, t.ctx.count_busy (), t[a].task_count, true); size_t start (pts.size ()); // Index of the first to be added. for (prerequisite_member p: group_prerequisite_members (a, t)) @@ -760,7 +760,7 @@ namespace build2 continue; } - match_async (a, *pt, target::count_busy (), t[a].task_count); + match_async (a, *pt, t.ctx.count_busy (), t[a].task_count); pts.push_back (prerequisite_target (pt, pi)); } @@ -5585,7 +5585,7 @@ namespace build2 { touch (tp, false, 2); t.mtime (system_clock::now ()); - skip_count.fetch_add (1, memory_order_relaxed); + t.ctx.skip_count.fetch_add (1, memory_order_relaxed); } // Note: else mtime should be cached. |