Vicente J. Botet Escriba
Thanks for the details. Could you check directly on windows? [...] Agreed. Could you check directly on windows?
My windows development setup is broken at this time, and fixing it is not easy for me. (I have nearly 40 years of Unix-like experience but I'm a rank newbie at Windows development.) Besides, I need the code to work on both Linux and (eventually) Windows. On 14 Sep 2014 at 21:59, Vicente J. Botet Escriba wrote:
It seems that the problem is present in 1.55 (see https://svn.boost.org/trac/boost/ticket/9856).
Yes, that seems to be the same issue now that I understand the API correctly. The bug appears to be that timed_wait() incorrectly thinks it has timed out. Should I add anything to that bug ticket, such as mentioning the additional places where I've seen it or attaching my test program? How do I make or propose some minor clarifications to the Boost::thread documentation to get into the next release?
Vicente J. Botet Escriba
writes: Another possibility could be to use the chrono interface to see if the bug is around the date-time interface.
Last week when I casually looked through Boost documentation, it was not at all clear to me that chrono is newer and should be preferred in new code. This morning I made the straightforward transformation of my test program to use chrono and it works correctly on Linux 3.13.0 with Boost 1.54. I've not yet back-ported wait_until() to Boost 1.48 or 1.46 to see if it works on my other platforms. My time might be better spent updating those platforms to use the latest Boost. I'll move forward with the workaround to use Boost::chrono. Thank you very much! Would it be a good idea for me to morph my test program into a unit test and add it to the Boost:thread test suite? If so, would someone like to point me in the right direction and answer questions? Steven J. Clark VGo Communications