• 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: Peter N Lewis <email@hidden>
  • Date: Sun, 1 Feb 2009 21:46:47 +0900

At 0:21 -0500 31/1/09, Michael Ash wrote:
And even there, a continuous
sequence of 0-delay performs should not lock the user out of your
program. Seems to me that most non-user events should be interleaved
in with user events based on when they occur, or at the very least
given equal time. It's too easy to lock up the main event loop such
that the user can no longer do anything otherwise.

Yes, this can be really annoying. I ran in to it on the iPhone, where if you run a sequence of actions say every 0.01 seconds, but your action takes longer than 0.01 seconds and then the phone entirely stops accepting UI which is problematic to say the least. And very confusing to debug.


It's actually good to learn *why* this was happening!
   Peter.

--
              Keyboard Maestro 3 Now Available!
   Now run macros from your iPhone with Keyboard Maestro Control!

Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
<http://www.stairways.com/>           <http://download.stairways.com/>
_______________________________________________

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


  • Prev by Date: Re: Drawing Invalidation Question
  • Next by Date: Re: +[NSColor highlightColor] returns white instead of actual color
  • Previous by thread: Re: Using NSAppleScript With AXMakeProcessTrusted -- and/or, How To Indirectly Launch A Secure Agent
  • Next by thread: unable to catch mouseDown
  • Index(es):
    • Date
    • Thread