• 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: NSWindow from another thread.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow from another thread.


  • Subject: Re: NSWindow from another thread.
  • From: j o a r <email@hidden>
  • Date: Sat, 14 Jan 2006 13:55:58 +0100


On 14 jan 2006, at 05.41, Steve Checkoway wrote:

I need to send a few messages to an NSWindow from a thread other than the main thread. Are any of these safe to do from the other thread or do I need to use performSelectorOnMainThread:withObject:waitUntilDone: for all of them?

This topic is covered in the official documentation (and of course also in the list archives), please check there first, and get back to the list if you have any follow up questions.


<http://developer.apple.com/cgi-bin/search.pl?q=thread +safety&site=default_collection>

In particular:

<http://developer.apple.com/documentation/Cocoa/Conceptual/ Multithreading/Multithreading.html>

As a general rule; If something is not explicitly documented as thread safe, you can be sure that it isn't.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSWindow from another thread.
      • From: Steve Checkoway <email@hidden>
References: 
 >NSWindow from another thread. (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Compositing text into an NSImage
  • Next by Date: Re: NSTextView keydown alternative?
  • Previous by thread: NSWindow from another thread.
  • Next by thread: Re: NSWindow from another thread.
  • Index(es):
    • Date
    • Thread