[openbeos] Re: BeOS scheduling

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 15 Aug 2002 23:22:53 +0200 (MEST)

En réponse à Manuel Jesus Petit de Gabriel <freston@xxxxxxxxxxx>:

> 
> > >Now, having a fixed quantum does not mean that your timer
> resolution
> > >(for awaking threads for instance) is as coarse as the quantum
> > >(althought in some other OSes it is). BeOS scheduler (and timeout
> > >queues) is not tied to any kind of periodic tick.
> > 
> > I read that the timer tick was 1ms, and the scheduler did task 
> > switching on every third tick (3ms). That would give the 1ms timing 
> > resolution.
> 
> That's not even close to truth.
> 
> There is no periodic tick in BeOS. There is a time based callout queue
> that
> is used by the scheduler itself. NewOS implementation is close enough
> to
> what BeOS did to give you an idea.
> 
> 

Hmm that's why BeOS behaves so strangely in VMWare...

François.




Other related posts: