Ticket #2729: named_condition.patch

File named_condition.patch, 639 bytes (added by yusuke_mitsuki@…, 14 years ago)
  • named_condition.hpp

    diff -dur sync.orig/named_condition.hpp sync/named_condition.hpp
    old new  
    300300{
    301301   if (!lock)
    302302      throw lock_exception();
    303    this->condition()->do_wait(*lock.mutex()->mutex());
     303   this->condition()->do_wait(*lock.mutex());
    304304}
    305305
    306306template <typename L, typename Pr>
     
    310310      throw lock_exception();
    311311
    312312   while (!pred())
    313       this->condition()->do_wait(*lock.mutex()->mutex());
     313      this->condition()->do_wait(*lock.mutex());
    314314}
    315315
    316316template <typename L>