Boost version: 1.86.0
OS: Linux, Ubuntu 22.04
I'm used to using boost::posix_time::microsec_clock::local_time() or std::chrono::steady_clock::now() as my time base for most boost timed wait functionality. However, it seems that interprocess_condition::timed_wait() returns false immediately for me when I have a time 1 second in the future (I am in UTC-7 time zone). Things start to work fine if I either adjust my system time to UTC+0 or update the code to instead use boost::posix_time::microsec_clock::universal_time() as my time base.
Boost version: 1.86.0
OS: Linux, Ubuntu 22.04
I'm used to using
boost::posix_time::microsec_clock::local_time()orstd::chrono::steady_clock::now()as my time base for most boost timed wait functionality. However, it seems thatinterprocess_condition::timed_wait()returns false immediately for me when I have a time 1 second in the future (I am in UTC-7 time zone). Things start to work fine if I either adjust my system time to UTC+0 or update the code to instead useboost::posix_time::microsec_clock::universal_time()as my time base.