[asio-users] MSVC++ 13 broken std::chrono impl
Brought to you by:
chris_kohlhoff
From: Adam C. <jad...@au...> - 2015-03-13 18:38:17
|
Hi All, I'm using the ASIO_STANDALONE w/ C++11 in the library I support. One of my users recently noticing that timers were going haywire on Windows when the system clock changed. I was very surprised because we use the following internally: asio::basic_waitable_timer< std::chrono::steady_clock > Apparently, Microsoft has a crappy implementation of steady clock in MSVC 13: http://stackoverflow.com/questions/11488075/vs11-is-steady-clock-steady I have been unable to find definitive info for when/if this has been fixed in a CTP or patch. Has anyone else run into this? Do you have a workaround that doesn't involve falling back on boost::chrono::steady_clock? -Adam -- J Adam Crain - Partner <http://www.automatak.com> PGP 4096R/E2984A0C <https://automatak.net/wordpress/wp-content/uploads/2014/10/jadamcrain.asc> 2013-05-03 |