$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-05-09 07:55:56
Kirit Sælensminde wrote:
> // Notify joins
> boost::mutex::scoped_lock lock( m_mutex );
> j->first->m_completed = true;
> j->first->m_control.notify_all();
Are you sure that you want to lock m_mutex here and not j->first->m_mutex?
(Also applies to the catch clauses.)