Re: What does 'thread safe' mean?
Re: What does 'thread safe' mean?
- Subject: Re: What does 'thread safe' mean?
- From: Uli Kusterer <email@hidden>
- Date: Fri, 27 Jun 2008 10:02:12 +0200
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.
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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