Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
NSURLConnection threads creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection threads creation



hi list

something i don't understand about NSURLConnection ...
let's imagine a simple app that would create 1 NSURLConnection and launch the download with the initWithRequest method.

before creating the NSURLConnection, there is only one NSTread (the main runLoop)
after creating the NSURLConnection, there are 4 !!!! NSThreads . and even when the NSURLConnection is destroyed, the 4 NSThreads still exist.

anybody can tell me what is going on ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.