[MPlayer-dev-eng] [PATCH] use timer-lx.c on darwin & osx

Arpi arpi at mplayerhq.hu
Tue Apr 26 22:49:51 CEST 2005


Hi,

> > OSX also has nanosleep (which WILL be used by timer-lx.c, as  
> > HAVE_NANOSLEEP is set by configure).
> > Besides, The current implementation of usec_sleep() under darwin  
> > actually UNCONDITIONALLY uses usleep() anyway:
> >
> > /* wrapper for MPlayer G1 */
> > int usec_sleep(int usec_delay)
> > {
> >   return usleep(usec_delay);
> > }
> >
> >
> 
> usleep is implemented using nanosleep on osx

hmm, i though mplayer g1 also uses sleep_accurate.
now checked, it seems it's still the old usleep() mess :(
so you're right, no difference, both uses usleep/nanosleep.


A'rpi / MPlayer, Astral & ESP-team

--
Girls are like internet domain names, the ones I like are already taken.




More information about the MPlayer-dev-eng mailing list