[Boost-users] How to implementing a conditional wait