• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Serial IO seems to be starving UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Serial IO seems to be starving UI
      • From: Michael Ash <email@hidden>
References: 
 >Serial IO seems to be starving UI (From: Rick Mann <email@hidden>)
 >Re: Serial IO seems to be starving UI (From: "A.M." <email@hidden>)

  • Prev by Date: Re: NSFileHandle or a better way?
  • Next by Date: Re: Determining Previous Front Process
  • Previous by thread: Re: Serial IO seems to be starving UI
  • Next by thread: Re: Serial IO seems to be starving UI
  • Index(es):
    • Date
    • Thread