Boost logo

Boost Users :

From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2007-02-15 15:35:02


> boost::mutex m_Queue;
>
> but not with them enabled!
>
> Ok after playing a little bit around with them, i can say the following:
> Enabling just one of these procedures in my real program -> i get the crash.
> No function, everything fine.
> Whats going on here??? These are not called in the constructor!? Up to now
> they are never ever called!
> (But i need them of course ;-))
> So whats going on, im frightend..
Defining a member variable causes either its default constructor or the
one you choose to call in the initialization clause to be called in your
class's constructor.

So assume that your problem is in the default constructor of boost::mutex.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net