RE: threads and GUI
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