On May 15, 2012, at 5:13 PM, Jens Alfke wrote:

> On May 15, 2012, at 3:33 PM, Marco S Hyman wrote:
> 
>> I'd disagree regarding the "quite well documented by Apple" part.
> 
> Have you read the URL Loading System guide, not just the class API docs?

The URL Loading System Guide contained the code I quoted.  Nowhere in that
doc does the term "thread" appear.   Yes, you are correct that I missed
the comment in the related class doc that stated delegate methods will be
called on the thread that started the async load operation.

In hindsight I should have expected that.

> So it’s bad documentation because it shows a race condition you thought up, 
> even though the race condition doesn’t actually exist? O_o

No, the URL Loading System Guide is bad documentation because it leaves 
important
details to the imagination of this reader. :)

Marc
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to