Carbon event loop porting question

Uli Kusterer kusterer at gmail.com
Thu Apr 19 00:21:25 PDT 2007


Am 19.04.2007 um 11:22 schrieb Lothar Scholz:
> I don't want details, i just ask to see what overall design changes
> are required. On X11-Unix all toolkits have the feature that i can  
> add a
> file descriptor (in my case a pipe that signals data is available
> from background worker threads) to the event loop.

  I think you can also do this with a CFRunLoop (and CFStream or  
whatever). Every CarbonEventLoop is eventually backed by a run loop,  
so you should be able to get at that somehow.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de





More information about the MacOSX-dev mailing list