Boost logo

Boost :

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;
};


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk