Permalink
Browse files

correctly set default sched policy

  • Loading branch information...
1 parent d195b6a commit c96332fc31948f33af4e603e125b0ddb92bbef8a @jlelli jlelli committed Apr 20, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/rt-app.c
View
@@ -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,

0 comments on commit c96332f

Please sign in to comment.