diff options
Diffstat (limited to 'build2/dump.cxx')
-rw-r--r-- | build2/dump.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/dump.cxx b/build2/dump.cxx index f88dcfd..263f1b5 100644 --- a/build2/dump.cxx +++ b/build2/dump.cxx @@ -243,12 +243,14 @@ namespace build2 // Note: running serial and task_count is 0 before any operation has // started. // - if (size_t c = t.task_count.load (memory_order_relaxed)) + action inner; // @@ Only for the inner part of the action currently. + + if (size_t c = t[inner].task_count.load (memory_order_relaxed)) { if (c == target::count_applied () || c == target::count_executed ()) { bool f (false); - for (const target* pt: t.prerequisite_targets) + for (const target* pt: t.prerequisite_targets[inner]) { if (pt == nullptr) // Skipped. continue; |