Re: Serial IO seems to be starving UI
Re: Serial IO seems to be starving UI
- Subject: Re: Serial IO seems to be starving UI
- From: Kyle Sluder <email@hidden>
- Date: Fri, 30 Jan 2009 20:00:55 -0500
On Fri, Jan 30, 2009 at 1:21 PM, A.M. <email@hidden> wrote:
> What is likely happening is that the NSFileHandle processing is starving the
> main NSRunLoop. This happens because NSRunLoop processes non-user input
> before it processes user events (which seems backwards for the main run loop
> but is nevertheless the case).
Actually it makes perfect sense. If an event causes a method to call
-performSelector:withObject:afterDelay:, that selector should
logically be applied before the next event is processed.
--Kyle Sluder
_______________________________________________
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