Skip to content

Commit

Permalink
correctly set default sched policy
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelli committed Aug 3, 2012
1 parent d195b6a commit c96332f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rt-app.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ int main(int argc, char* argv[])
} else {
tdata->log_handler = stdout;
}

tdata->sched_policy = opts.policy;
policy_to_string(opts.policy, tdata->sched_policy_descr);

if (pthread_create(&threads[i],
NULL,
Expand Down

0 comments on commit c96332f

Please sign in to comment.