[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] sleep



Simon Barnes <barnes@gatwick.geco-prakla.slb.com> wrote:
>Sleep() in MacPerl seems to do a "busy wait", leaving little or no time 
>for other applications to run.  Would it be feasible for it to give away 
>some CPU time, albeit at the expense of accuracy?

What version of MacPer are you using? sleep() behaviour changed in 5.0.5.

Matthias

-----
Matthias Neeracher <neeri@iis.ee.ethz.ch> http://err.ethz.ch/members/neeri.html
  "And that's why I am going to turn this world upside down, and make
   of it a fire so *bright* that someone real will notice"
                                -- Vernor Vinge, _Tatja Grimm's World_