• 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: URL loading system not threadsafe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: URL loading system not threadsafe? (From: Henk Kampman <email@hidden>)
 >Re: URL loading system not threadsafe? (From: Colin Barrett <email@hidden>)
 >Re: URL loading system not threadsafe? (From: Colin Barrett <email@hidden>)

  • Prev by Date: Re: Tiger-style toolbars
  • Next by Date: Re: NSImageView does not update on setNeedsDisplay
  • Previous by thread: Re: URL loading system not threadsafe?
  • Next by thread: Re: URL loading system not threadsafe?
  • Index(es):
    • Date
    • Thread