[zeromq-dev] [PATCH][czmq] Update clock support on Windows

Pieter Hintjens ph at imatix.com
Fri May 27 01:08:44 CEST 2011

Looks great, Steve, thanks!

For czmq I'm more than happy to work with pull requests. These patches
are fine, of course.


On Thu, May 26, 2011 at 3:31 PM, Steven McCoy <steven.mccoy at miru.hk> wrote:
> #1 Check Windows build version as to whether Sleep(0ms) yields or sleeps.
> #2 Use GetSystemTimeAsFileTime() instead of GetSystemtime().
> I don't know if SdkDdkver.h needs to be explicitly brought in, the WINVER
> and _WIN32_WINNT symbols are broken for detecting Windows Server 2003.
> http://msdn.microsoft.com/en-us/library/aa383745.aspx
> Noting that zclock_log isn't very useful with buffered output.  Also it uses
> three expensive output calls which need to be reduced if you ever direct to
> disk whilst HDDs remain popular.
> --
> Steve-o
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list