Re: Using Notifiers for a non-CFRunLooped app ??
Re: Using Notifiers for a non-CFRunLooped app ??
- Subject: Re: Using Notifiers for a non-CFRunLooped app ??
- From: Quinn <email@hidden>
- Date: Thu, 12 Dec 2002 12:34:51 +0000
At 11:49 +0100 12/12/02, Jirome Foucher wrote:
But my app does not use CFRunLoop as it's based on PowerPlant. Is it
a problem ?
No. All Carbon and Cocoa applications are ultimately based on a
CFRunLoop. In the case of a PowerPlant app, PP eventually calls WNE,
which internally is implemented on top of a CFRunLoop. So, you can
just add your SCF runloop source into the current runloop (as
returned by CFRunLoopGetCurrent) and, voila, your SCF callbacks will
be called at 'system task' time (ie on the main thread).
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.