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

Nicolas Plourde nicolas.plourde at sympatico.ca
Tue Apr 26 22:18:37 CEST 2005


On 26-Apr-05, at 4:04 PM, Chris Roccati wrote:

>
> 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

====
Nicolas Plourde <nicolas.plourde at sympatico.ca>




More information about the MPlayer-dev-eng mailing list