16 Sep
2009
16 Sep
'09
12:39 p.m.
Young, Zachariah L escribió:
My straightforward idea is to add the following line at line 172 of boost/interprocess/sync/emulation/interprocess_condition.hpp:
if(!lock){
detail::atomic_dec32(const_castboost::uint32_t*(&m_num_waiters)); timed_out = true; unlock_enter_mut = true; break; }
I think you are right. The count should be decremented because this thread will exit the wait logic . thanks, Ion