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

Re: timers


  • Subject: Re: timers
  • From: James McCartney <email@hidden>
  • Date: Mon, 13 Aug 2001 10:50:32 -0500

on 8/13/01 10:38 AM, Doug Wyatt at email@hidden wrote:

> I wouldn't recommend usleep() (the man page has an interesting note ...).

Yeah I saw that. But I wonder if pthread_cond_wait does not have similar
overhead. I prefer the POSIX way if that is also just as good as the others.

> pthread_cond_wait is a pretty direct way to tell the scheduler you want
> to run a thread at some exact time in the future, and the wakeup latency
> will be a direct function of your thread's priority vs. that of the
> other runnable threads.

--- james mccartney email@hidden <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.10.sea.hqx>


References: 
 >Re: timers (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: timers
  • Next by Date: Re: Using CoreAudio from a kext
  • Previous by thread: Re: timers
  • Next by thread: Re: timers
  • Index(es):
    • Date
    • Thread