Module: xenomai-forge Branch: master Commit: 49cdd2662e198cc770bf03ed59555aa0dbad6019 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=49cdd2662e198cc770bf03ed59555aa0dbad6019
Author: Philippe Gerum <[email protected]> Date: Mon Nov 21 23:19:34 2011 +0100 cobalt/sched: disable timeslicing when exiting RR --- kernel/cobalt/sched.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/cobalt/sched.c b/kernel/cobalt/sched.c index 0accc65..d7fcf9e 100644 --- a/kernel/cobalt/sched.c +++ b/kernel/cobalt/sched.c @@ -432,6 +432,7 @@ int pthread_setschedparam_ex(pthread_t tid, int pol, const struct sched_param_ex case SCHED_OTHER: case SCHED_FIFO: case SCHED_COBALT: + xnpod_set_thread_tslice(&tid->threadbase, XN_INFINITE); short_param.sched_priority = par->sched_priority; return pthread_setschedparam(tid, pol, &short_param); default: _______________________________________________ Xenomai-git mailing list [email protected] https://mail.gna.org/listinfo/xenomai-git
