winmm: Use a pipe for timer

Steven Edwards winehacker at gmail.com
Sat May 5 15:59:26 CDT 2007


Hi,

On 5/5/07, Maarten Lankhorst <m.b.lankhorst at gmail.com> wrote:
> This avoids expensive server calls in a time critical timer.
>
> Without priority patch it drops stddev in winmm timer tests to < 2 ms as
> compared to ~7 ms before. With priority patch it drops to < .20 ms.
>
> Backwards compatibility code is kept just in case.

Even though backward compatibility is kept I worry about a couple of
things. A lot of work was done on WinMM to make it portable to windows
for testing and I don't like seeing new code to tie it back to unix
even with the old code left in place. Also shouldn't there be a way to
speed up the server performance instead? If this is accepted here then
what about other areas of wine such as directx where timers similar
may be used? Should we make this sort of patch global? I don't think
so but then I don't know enough to no what the proper fix would be.

Thanks

-- 
Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo



More information about the wine-patches mailing list