Lines Matching refs:sched_mode
104 integer_t oldmode = (thread->sched_mode == TH_MODE_TIMESHARE);
107 thread->sched_mode = TH_MODE_TIMESHARE;
115 thread->sched_mode = TH_MODE_FIXED;
168 if (thread->sched_mode == TH_MODE_TIMESHARE) {
172 thread->sched_mode = TH_MODE_REALTIME;
258 if (thread->sched_mode == TH_MODE_REALTIME)
357 sched_mode_t oldmode = thread->sched_mode;
359 thread->sched_mode = SCHED(initial_thread_sched_mode)(thread->task);
361 if ((oldmode != TH_MODE_TIMESHARE) && (thread->sched_mode == TH_MODE_TIMESHARE)) {
368 thread->sched_mode = thread->saved_mode;
412 if ( (thread->sched_mode != TH_MODE_REALTIME) &&
415 timeshare = (thread->sched_mode == TH_MODE_TIMESHARE) != 0;
451 if ( (thread->sched_mode == TH_MODE_REALTIME) ||