• 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: CGPostKeyboardEvent strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGPostKeyboardEvent strangeness


  • Subject: Re: CGPostKeyboardEvent strangeness
  • From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
  • Date: Thu, 11 Nov 2004 12:43:52 -0600

M. Uli Kusterer, email@hidden, wrote:
>Personally, I'd suggest doing a usleep() instead of a Delay() here.
>That way other apps get some processing power and you won't be
>burning cycles needlessly when sitting in Delay().

Good point: Just spiked it.

Delay() sleeps the process (or maybe just the thread), it doesn't spin
wait. So, no real difference, if I understand what you're getting at.

| Jonathan 'Wolf' Rentzsch   http://rentzsch.com
| Red Shed Software           http://redshed.net
|     "better" necessarily means "different"

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CGPostKeyboardEvent strangeness
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: 1 controller, 1 nib, 2 windows?
  • Next by Date: Bindings and localization
  • Previous by thread: Re: CGPostKeyboardEvent strangeness
  • Next by thread: Re: CGPostKeyboardEvent strangeness
  • Index(es):
    • Date
    • Thread