Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-10-13 09:47:48


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net