Re: [AD] Non C program accessing Allegro on OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wednesday, November 2, 2005, at 03:13  am, Jon Rafkind wrote:

But now when this starts up I dont see applicationDidFinishLaunching being called ever. Why is this? Is it because this NSApplication thing has to be run by the starting thread? If so, is there any way around this?

I just had a go with a test program (nothing as complicated as Allegro). It confirmed what I thought, i.e [NSApplication run] _does_ have to be called by thread 1, otherwise the icon just bounces for ever in the dock and, as you say, the notifications never run.

According to the mzscheme docs, they implement their own thread system. Can you use this to run the message pump, somehow?

Pete





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/