diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-12 13:37:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-12 13:37:45 +0200 |
commit | 50be4c0e935f0018ddc146dafd1ef2cf948ff780 (patch) | |
tree | 7ba754af702d5ef98aac595334fb2bf1fbe0fa47 /build2/algorithm.cxx | |
parent | c0d6d431dfcdbf3883881f2feb88127c3ddf9ade (diff) |
Fix task_count handling race in scheduler
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r-- | build2/algorithm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index d39711b..1c5b6a6 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -172,7 +172,7 @@ namespace build2 offset == target::offset_matched); } - return target_lock (a, &t, offset); + return target_lock {a, &t, offset}; } void |