Example #1
0
inline bool posix_named_mutex::timed_lock(const hexerboost::posix_time::ptime &abs_time)
{
   if(abs_time == hexerboost::posix_time::pos_infin){
      this->lock();
      return true;
   }
   return m_sem.timed_wait(abs_time);
}
Example #2
0
inline bool posix_named_mutex::timed_lock(const boost::posix_time::ptime &abs_time)
{  return m_sem.timed_wait(abs_time);  }