Re: Synchronising an app with the system clock



On Wed, 2007-02-14 at 19:28 +0000, Alex Jones wrote:
> Hi list

> What I want to do is have some way of absolutely synchronising an app
> with the system clock. I've considered a kind of D-Bus system clock
> service that could emit signals every second so that apps could
> synchronise to that and all dance in time, but that itself would need
> synchronising somehow, so the problem remains. Is there some way to
> interface with the kernel for this kind of thing?
> 
> Any other ideas/comments?

How is g_cond_timed_wait implemented? It ought to wake up at the right
absolute time regardless of clock changes, otherwise I'd think it would
be a bug.

> Cheers
-- 
Michael R. Head <burner suppressingfire org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]