13 Oct
2006
13 Oct
'06
1:47 p.m.
Roland Schwarz wrote:
Peter Dimov wrote:
Preemptions aren't an issue specific to relative timeouts since a wait with an absolute timeout can as easily be preempted on the way out as a relative wait on the way in.
Hmm, sure? I mean "as easily"? I think the probability of being preempted short after having got a time slice from the scheduler is smaller than in the average. (Assuming equal thread priorities.) So one could reason that the way out is more "stable" than the way in.
Yes, you are right. It's much less probable.