$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Mutex is always blocking
From: Jean-Sebastien Stoezel (js.stoezel_at_[hidden])
Date: 2008-10-06 10:33:26
Hello,
Is there a specific way of initializing the boost::mutex objects? Here
is the sequence I have been using:
Instantiation of the mutex
boost::mutex m_CmdMutex;
Then try to lock it
m_CmdMutex.lock();
It looks like every time I try to lock a mutex I lock my thread.
Anything else needs to be done?
Thanks,
Jean