• 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
Sleeping in nanos
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sleeping in nanos


  • Subject: Sleeping in nanos
  • From: Greg <email@hidden>
  • Date: Fri, 2 Feb 2007 22:28:08 -0500

Is there a way on OS X to sleep for 1000 nanoseconds without causing 65% CPU usage? I have tried nanosleep and clock_sleep (using TIME_RELATIVE and a REALTIME_CLOCK), and both seem to simply cause a busy loop.

Thanks!

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


  • Follow-Ups:
    • Fwd: Sleeping in nanos
      • From: Greg <email@hidden>
  • Prev by Date: Re: mach in signal handler
  • Next by Date: Fwd: Sleeping in nanos
  • Previous by thread: Re: Regarding Hostname of Router!!
  • Next by thread: Fwd: Sleeping in nanos
  • Index(es):
    • Date
    • Thread