[MPlayer-dev-eng] [PATCH] use timer-lx.c on darwin & osx
Nicolas Plourde
nicolas.plourde at sympatico.ca
Wed Apr 27 18:05:23 CEST 2005
On 27-Apr-05, at 11:59 AM, Arpi wrote:
>
> i had the same idea yesterday :)
> (but i was lazy to check if it's really the cause...)
>
> anyway cache doesnt need accurate sleep, it's just to avoid eating up
> all cpu while waiting for i/o. so simple usleep() would be better
> maybe?
> (afair it was usleep() originally when i wrote it, maybe it was
> changed
> later to ease portability?)
>
its usec_sleep for portability reason I guess.
>
> should be 0.001 or maybe 0.005, 5ms isn't noticable anyway and
> the call overhead and inaccurate usleep may delay more than a few ms.
>
ok
> maybe backporting the new timing system from g2 would be a better
> idea...
>
I'm definitely not the men for the job.
thanks for the feedback Arpi
====
Nicolas Plourde <nicolas.plourde at sympatico.ca>
More information about the MPlayer-dev-eng
mailing list