Re: threads and GUI
Re: threads and GUI
- Subject: Re: threads and GUI
- From: tahome izwah <email@hidden>
- Date: Tue, 1 Sep 2009 09:42:12 +0200
I don't think this is a limitation on OS X.
I am invoking a NSAlert from a separate thread in my plug in (created
via -detachNewThreadWithSelector) and don't have any problem with
this.
...Is this a Carbon UI by any chance?
--th
2009/9/1 john smith <email@hidden>:
>
> Hi,
>
> I'm doing a Windows->OSX port of a plug-in, which is creating some extra
> threads, and is creating message boxes and browse-for-folder type dialogs
> from it.
>
> I implemented the threads using the posix calls (pthread_*).
>
> But... whenever I try to make a messagebox, or any type of standard OS
> dialog for that matter, the plug-in crashes...
>
> At this point I'm thinking it's an OSX limitation, and that only threads
> with an event queue can create standard OS boxes. Is this true?
>
> Can anyone give me a hand here? Any insight would be appreciated, thanks.
>
>
> Rgds,
>
> Michael Olsen
> PhonoXone
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden