All macros defining rts flags are prefixed with RTS_
- macros used with RTS_SET group of macros to define struct proc p_rts_flags are now prefixed with RTS_ to make things clear
This commit is contained in:
@@ -279,7 +279,7 @@ PUBLIC int ap_timer_int_handler(void)
|
||||
if (p->p_rts_flags == 0 && p->p_ticks_left <= 0 &&
|
||||
priv(p)->s_flags & PREEMPTIBLE) {
|
||||
/* this dequeues the process */
|
||||
RTS_SET(p, NO_QUANTUM);
|
||||
RTS_SET(p, RTS_NO_QUANTUM);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user