Fixed: EVFILT_TIMER just broken
Fixed: EVFILT_TIMER just broken
- Subject: Fixed: EVFILT_TIMER just broken
- From: Godfrey van der Linden <email@hidden>
- Date: Sat, 13 Mar 2010 18:26:47 +1100
Sorry, Mea Culpa (again, sigh). RTFM. I totally misread the man page I thought the period was the identifier, but a nice darwin-kernel guy pointed out that I was doing it wrong.
Godfrey
On 2010-03-11, at 22:15 , Godfrey van der Linden wrote:
> I've now explored every variant I can think of for using kevent with EVFILT_TIMER. If I read kevent(2) properly the default implementation for the TIMER is to set a repeating timeout that can fire every ident timeperiods and delivers a EVFILT_TIMER event.
>
> Yet only ever get one hit, immediately and the event never fires again. Is this a documentation problem or am I missing something?
>
> Here is the code that demonstrates the problem, not that it never returns after the initial immediate and incorrect kevents.
>
> I'm running a vanilla x86_64 macbook pro with 10.6.2.
>
> Please help, this problem has been screwing me over for the last week.
>
> Godfrey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden