RE: Main Thread UI and Detached Thread
RE: Main Thread UI and Detached Thread
- Subject: RE: Main Thread UI and Detached Thread
- From: Andy Klepack <email@hidden>
- Date: Mon, 31 Mar 2008 11:10:18 -0700
- Acceptlanguage: en-US
- Thread-topic: Main Thread UI and Detached Thread
Are you calling performSelectorOnMainThread:withObject:waitUntilDone:modes on every iteration of the tight loop? That seems like it could be terribly expensive. What if you throttle it back to every X (ten, hundred, thousand, etc) iterations? My speculation would be you're overwhelming your receiver.
-Andy
_______________________________________________
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
_______________________________________________
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