Re: URL loading system not threadsafe?
Re: URL loading system not threadsafe?
- Subject: Re: URL loading system not threadsafe?
- From: Stefan Pantke <email@hidden>
- Date: Sat, 19 Nov 2005 03:20:55 +0100
Am 19.11.2005 um 02:37 schrieb Colin Barrett:
On Nov 18, 2005, at 8:10 PM, Stefan Pantke wrote:
Am 19.11.2005 um 02:02 schrieb Colin Barrett:
On Nov 18, 2005, at 5:04 PM, Henk Kampman wrote:
On 18-nov-2005, at 20:09, Daniel Waylonis wrote:
<snip>
That sure sounds like bug (or at least Apple should document
that the class is not thread safe). I think that you're right
that the cache is the problem.
You should never assume that something in any of the Apple
frameworks is threadsafe unless it is explicitly stated otherwise
(except perhaps NSLock ;-)
Really? According to an overview DTS article, DTS explained that
huge parts
for several frameworks are threadsafe, except certain parts.
Unfortunately, I can't remember the correct URL.
That's great, and they may be. But you're no longer assuming that
they are threadsafe once you've done some research. Basically, what
I'm saying is: If you don't know, assume that something is thread
unsafe. To confirm the thread safety, write a small program to test
it. :-)
Well, yes, lessons learned ;-)
_______________________________________________
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