diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-26 16:01:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:33 +0200 |
commit | 93dbdacafb07b674467aa30c4aefd38bb3871601 (patch) | |
tree | 6675150a587b560193ef21ae1d334300655e9d8e /build2/scheduler.txx | |
parent | 88f0780e34116c0441a8d8c58b8a8fd9fde4b1f5 (diff) |
Add scheduling calls to operation's match()
Diffstat (limited to 'build2/scheduler.txx')
-rw-r--r-- | build2/scheduler.txx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/scheduler.txx b/build2/scheduler.txx index fd1106b..127ce48 100644 --- a/build2/scheduler.txx +++ b/build2/scheduler.txx @@ -40,8 +40,8 @@ namespace build2 // new (&td->data) task { &task_count, - decay_copy (forward <F> (f)), - typename task::args_type (decay_copy (forward <A> (a))...)}; + decay_copy (forward<F> (f)), + typename task::args_type (decay_copy (forward<A> (a))...)}; td->thunk = &task_thunk<F, A...>; } @@ -49,8 +49,8 @@ namespace build2 tq->stat_full++; } - // If serial/full, then run the task synchronously. In this case - // there is no need to mess with task count. + // If serial/full, then run the task synchronously. In this case there is + // no need to mess with task count. // if (td == nullptr) { |