Hi all,
I'm creating Two threads T1,T2 with schedule policy SCHED_RR.
The priority assigned to T1 is 4 and T2 is 10.
Does my following assumptions are correct ?
1 ) T2 will run with the highest priority.
2) Will the Pre-emption occur in this scenario:
when the thread T2 waits for the resource once its
available ,
meanwhile T1 continues its work or idle.Once the resource
is made available
T2 starts executing the work with high bandwidth compared
to T1.
thanks.