On Mon, Jul 12, 2010 at 12:33 PM, Abhinav Tyagi <abhityag...@gmail.com> wrote: > Thanks for giving your valuable time to this post. > I have been working on Mac platform since last 5 months prior to which I have > worked on Windows platform. > I have used threads using NSThread's > detachNewThreadSelector:@selector() earlier > and they worked fine. However this time my thread is not like a simple > function that will > quit after it is finished. But my thread needs to be running as teh > data continuously comes > from the URL connection.
NSURLConnection already has an asynchronous API. Use that instead of detaching your own thread. --Kyle sluder _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com