#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
-#include <boost/interprocess/detail/posix_time_types_wrk.hpp>
#include <boost/interprocess/sync/posix/semaphore_wrapper.hpp>
namespace boost {
bool try_wait()
{ return semaphore_try_wait(&m_sem); }
- bool timed_wait(const boost::posix_time::ptime &abs_time)
+ template<class TimePoint>
+ bool timed_wait(const TimePoint &abs_time)
{ return semaphore_timed_wait(&m_sem, abs_time); }
private: