In short, do **not** poll. Not ever. If you are doing something like this:
while (stillDontGotIt) { sleepForAMomentAndHopeWeGetIt(); } (or the obvious spin-and-try-lock variant). Then you are doing it wrong. It eats CPU, makes your app less responsive, eats battery life, and is less efficient. Far far more efficient is to set up various triggers or points of coordination -- queues, callbacks, run loop events, etc… -- through which your app will be notified when something is ready to be processed. b.bum_______________________________________________ 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