Ticket #2729: named_condition.patch
File named_condition.patch, 639 bytes (added by , 14 years ago) |
---|
-
named_condition.hpp
diff -dur sync.orig/named_condition.hpp sync/named_condition.hpp
old new 300 300 { 301 301 if (!lock) 302 302 throw lock_exception(); 303 this->condition()->do_wait(*lock.mutex() ->mutex());303 this->condition()->do_wait(*lock.mutex()); 304 304 } 305 305 306 306 template <typename L, typename Pr> … … 310 310 throw lock_exception(); 311 311 312 312 while (!pred()) 313 this->condition()->do_wait(*lock.mutex() ->mutex());313 this->condition()->do_wait(*lock.mutex()); 314 314 } 315 315 316 316 template <typename L>