Re: timers and event loops
Re: timers and event loops
- Subject: Re: timers and event loops
- From: Eric Schlegel <email@hidden>
- Date: Tue, 29 Nov 2005 09:37:40 -0800
On Nov 29, 2005, at 8:03 AM, Ondra Cada wrote:
I don't know whether it exploits NSRunLoop (in which case you could
make your timer to fire there as well easily) or whether it just
polls event in a tight loop -- given menus are driven by some
blasted Carbon code, I would rather suspect the latter, but I don't
really know.
The Carbon Menu Manager uses a blocking, not polling, event model to
run the menu tracking loop; it calls the Carbon Event Manager, which
sits on top of CFRunLoop. FYI, NSRunLoop also sits on top of
CFRunLoop, and the AppKit event system sits on top of the Carbon
Event Manager.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden