http://bugs.winehq.org/show_bug.cgi?id=7710
--- Comment #17 from Piotr Pawlow pp@siedziba.pl 2010-05-17 07:32:54 --- (In reply to comment #16)
Piotr, was there a reason why you did not submit this as a patch to wine-patches?
Yes, it's just a quick hack. It doesn't check whether CLOCK_MONOTONIC is defined and implemented, it has no error handling, and I guess it should be made relative to wineserver start time.
Furthermore, I don't know whether existing server_start_time variable can be reused for this purpose. When I grepped the source (long time ago) for server_start_time and gettimeofday, I found it confusing and requiring deeper analysis, for which I just had no time.