• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: threads and GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: threads and GUI
      • From: Jean-Daniel Dupas <email@hidden>
    • RE: threads and GUI
      • From: john smith <email@hidden>
  • Next by Date: RE: threads and GUI
  • Next by thread: RE: threads and GUI
  • Index(es):
    • Date
    • Thread