$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] boost 1.34.1 -static boost::mutex
From: keren A (krn.a.wo_at_[hidden])
Date: 2008-10-15 12:00:56
Hi.
I use boost's function: lock.
The code run on windows but in linux I'm stacked on the lock.
my code:
Code:
class A{
void foo()
{
boost::mutex::scoped_lock lock(m_locker);
doSomething();// The code never arrives here in linux.
}
static boost::mutex m_locker;
};