Oh~~ I assumed it is non-blocking because it looks like. :D


 Here is the Cocoa's document:
 "loadResourceDataNotifyingClient:usingCache:

Loads the receiver��s resource data in the background. client is notified
of the receiver��s progress loading the resource data using the NSURLClient
informal protocol. The NSURLClient messages are delivered on the current
thread and require the run loop to be running. shouldUseCache controls
whether the URL should use cached resource data from an already loaded URL
that refers to the same resource. The receiver can perform only
one background load at a time."


 It does mention "load data in background",
 and "only one background load at a time".

Yen-Ju

From: Richard Frith-Macdonald <[EMAIL PROTECTED]>
To: "Yen-Ju Chen" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: How to use [NSURL loadResourceDataNotifyingClient:usingCache:] ?
Date: Tue, 25 Mar 2003 17:38:22 +0000



On Tuesday, March 25, 2003, at 04:53 pm, Yen-Ju Chen wrote:



Thanx a lot. It works. But I notice it doesn't work in the background. Is it supposed to be non-blocking ?

I don't know ... It's written to block.
I guess I'll have to check the apple implementation and change the GNUstep one to match if necessary.




_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus




_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-gnustep

Reply via email to