• 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: What does 'thread safe' mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does 'thread safe' mean?


  • Subject: Re: What does 'thread safe' mean?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Fri, 27 Jun 2008 10:14:17 +0200


Le 27 juin 08 à 10:02, Uli Kusterer a écrit :

Am 27.06.2008 um 09:27 schrieb Omar Qazi:
On Jun 26, 2008, at 11:50 PM, Kevin Ferguson wrote:
I am not entirely sure as to what exactly a thread is, but seeing as anything I've ever programmed is light weight, I've never needed to worry before

And you don't need to worry now. If you don't know what a thread is, and therefore are presumably only using a single thread, you really don't need to worry about making sure your code is thread safe.


The general theory and basics of threading are probably not quite on- topic for this mailing list. I'd suggest you just buy a book on the topic of threading and read it. It's an interesting topic, and a very useful tool.

On the other hand, it can royally screw up things in your application if you don't plan ahead before you use threads. Moreover, threading bugs are hard to find, so you often think your code is OK, but then it crashes reliably on every other Mac, just not on your development Mac.


Yes, and it's also an import part in the creation of "schroedinbugs" (http://en.wikipedia.org/wiki/Heisenbug#Schroedinbugs ) and other strange bugs.


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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >What does 'thread safe' mean? (From: Kevin Ferguson <email@hidden>)
 >Re: What does 'thread safe' mean? (From: Omar Qazi <email@hidden>)
 >Re: What does 'thread safe' mean? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: What does 'thread safe' mean?
  • Next by Date: NSImageView and getting change events
  • Previous by thread: Re: What does 'thread safe' mean?
  • Next by thread: NSImageView and getting change events
  • Index(es):
    • Date
    • Thread