On Thu, 1 Nov 2001, Keith Packard wrote:

> 
> Around 23 o'clock on Nov 1, Mark Vojkovich wrote:
> 
> >    So that means that it's not possible to just update the
> > currentTime.  You can get the current system time, but you can't
> > update currentTime without processing events.  OK.
> 
> Right.  Until R2 (R3?) the only way server time got updated was from
> events; we changed that so that property notify events were more
> reasonable, but it took quite a while to ensure that such updates didn't
> accidentally make server time run backwards.
> 
> If you've got a request that needs to update current time, you can use 
> UpdateCurrentTime before processing anything; events will get delivered 
> and time will be reasonably current.
> 
> Do you have a reason to make current time reliably more accurate than the
> beginning of the current request?
> 

   Not the currentTime field.  I need more reliable current time but
I can use GetTimeInMillis and do my own month accounting.  I discovered
that you can't call UpdateCurrentTime() any place you like.  If you
do it in the pointer/viewport path you can get a recursion.  


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to