On 22 Aug 2008, at 11:54 pm, Negm-Awad Amin wrote:
This is not ugly, but the starting point for a software PLL.
Well, there's no "loop" to phase lock here. The PLL analogy might hold up if you used your timer to measure the interval between changes of the clock, then use that to change the timer rate (feedback). Then you could ensure that the timer callback always occurred within a certain interval of the clock changing (analogous to the phase delay in a PLL). But, it's pretty complex for such a simple task, and not necessary. If the clock were running much, much faster and you wanted to keep up with sub-millisecond changes then yes, you might have a point...
cheers, Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]