• 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 13:01:07 +0200

So how about -performSelectorOnMainThread then? Can you use this to
display an NSAlert?

Is there any documentation that describes this or how are we supposed
to know...?

Thanks
--th

2009/9/1 Markus Fritze <email@hidden>:
> NSAlert is not thread-safe. If it doesn't crash on your machine, doesn't
> mean it works. You have to call CFUserNotificationDisplayAlert() from a
> non-main thread to display an alert.
>
>
> Markus
 _______________________________________________
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: Markus Fritze <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>)
 >RE: threads and GUI (From: john smith <email@hidden>)
 >Re: threads and GUI (From: tahome izwah <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