performSelectorInBackground:anObject:
performSelectorInBackground:anObject:
- Subject: performSelectorInBackground:anObject:
- From: "Rick C." <email@hidden>
- Date: Fri, 4 Sep 2009 02:55:08 -0700 (PDT)
hello,
i use this method at various places in my project as an easy/safe way to do some background processing. i realize with every call it will initiate the selector on a new background thread. but i have noticed by observing activity monitor that it takes quite some time for these threads to go away once they have been initiated. as far as i know the only thing required it having an autorelease pool inside the selector that is triggered by this method. are there any additional steps to take to make sure these threads and the memory being used are ended properly? or maybe there is a way i can end them manually? as a note...snow leopard does a better job of getting rid of the finished threads showing in activity monitor than leopard.
thanks,
rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden