Le 12/12/13 07:53, Chris Brown a écrit :
I noticed that chrono doesn't seem to support thread_clock on mac (the posix implementation doesn't work for it) so I wrote up an implementation.
https://github.com/boostorg/chrono/pull/1
I was pretty surprised this didn't already exist, but haven't been able to find anything in the mailing list or trac regarding it. Curious to hear if there was a reason to avoid this implementation or if it's just something no one got around to.
Posting here for visibility since the git / Github workflow is relatively new to a lot of people here.
Hi, I have tried to pull this PR doing git pull https://github.com/ccbrown/chrono mac-thread-clock but when I do git status there is nothing on the stage However I see the merged files git log thread_clock.hpp commit 143260daeb2703961448a0928d199747ca34dfca Author: ccbrown <ccbrown112@gmail.com> Date: Wed Dec 11 21:38:34 2013 -0800 mac thread_clock implementation commit f5eb279eee0a28bc851abc24c41f293d95a71ba2 Author: Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> Date: Wed Jan 5 23:46:58 2011 +0000 Boost.Chrono: Moved to trunk [SVN r67697] Could some one explain me what I did wrong? Vicente