[boost] How to use boost::thread::condition