开发者

boost 1.44 Fedora 14 boost::condition::timed_wait() does not timeout after specified time

开发者 https://www.devze.com 2023-03-27 05:41 出处:网络
I am using boost::condition::timed_wait() to wait for a certain time on a boost::thread on Fedora 14 with Boost 1.44 but it does not timeout after waiting for specified time. It appears the thread jus

I am using boost::condition::timed_wait() to wait for a certain time on a boost::thread on Fedora 14 with Boost 1.44 but it does not timeout after waiting for specified time. It appears the thread just sleeps there 开发者_开发技巧untill the object is destroyed. The problem appears only in Fedora 14. It works well on Fedora 13 and RHEL with boost 1.44. Is there something in the boost condition that relies on internal OS timer of Fedora 14 which is causing the problem?

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消