[MPlayer-dev-eng] Major sleep() performance issue
Sascha Sommer
saschasommer at freenet.de
Thu Feb 10 17:07:55 CET 2005
> Another possible solution would be to modify the Darwin implementation
> of usec_sleep to treat values <10000 as 10000, but it seems to me that
> this is a mistake; the greater accuracy of the sleep timer should be
> leveraged, not ignored. (BTW - It seems that the Win32 port had a
> similar problem since it uses a guard like this.)
>
The problem on windows is not the to high accuracy, but the issue that
Sleep(0) most of the time slept a lot longer than Sleep(1).
Sascha
More information about the MPlayer-dev-eng
mailing list