title: Usage example of boost::condition::timed_wait
body: <p>Does someone have an example of how to most easily use boost::condition::timed_wait? There are some threads on the topic <a href="https://stackoverflow.com/questions/2259025/how-do-i-get-boostconditiontimed-wait-to-compile">here</a>, <a href="https://stackoverflow.com/questions/4669995/what-does-boostcondition-variabletimed-wait-return-on-spurious-wakeups">here</a> and <a href="https://stackoverflow.com/questions/6877032/boostcondition-variable-timed-wait-return-immediately">here</a>, but none feature a working example. And boost doc is as usual quite sparse.</p>