• 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: john smith <email@hidden>
  • Date: Tue, 1 Sep 2009 09:59:56 +0200
  • Importance: Normal


Thanks.

How about calling cocoa ui calls, like NSAlert, from the thread then. Is that doable? (while still running the "main gui" as carbon).


Thanks,

Michael Olsen



Subject: Re: threads and GUI
From: email@hidden
Date: Tue, 1 Sep 2009 09:57:12 +0200
CC: email@hidden; email@hidden
To: email@hidden

Yes, it's a carbon UI.

Carbon UI can't be called from any other thread but the main thread. You might be able to setup a CFRunLoop to get a quasi-multithreading working.


Do you think it would be better to use the MP calls then?

They are compatibility wrappers for pthreads. Doesn't make a difference.


(And no, turning it into a cocoa UI is not an option :-))

Then say bye-bye to your plug-in in the future: Carbon is dead, e.g. it is not supported by 64 bit.


Markus


Share your memories online with anyone you want anyone you want.
 _______________________________________________
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: tahome izwah <email@hidden>
    • Re: threads and GUI
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Re: threads and GUI (From: tahome izwah <email@hidden>)
 >RE: threads and GUI (From: john smith <email@hidden>)
 >Re: threads and GUI (From: Markus Fritze <email@hidden>)

  • Prev by Date: Re: threads and GUI
  • Next by Date: Re: threads and GUI
  • Previous by thread: Re: threads and GUI
  • Next by thread: Re: threads and GUI
  • Index(es):
    • Date
    • Thread