Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::recursive_mutex doesn't lock ???
From: Chris (cmrchs_at_[hidden])
Date: 2010-11-03 19:03:42


hello.

barrier is the way to go. easy to implement and works perfectly

thank you for your suggestion
Chris

On Nov 3, 4:29 pm, christopher.p..._at_[hidden] wrote:
> Hi Chris,
>
>
>
> Chris wrote:
> > well, I start a main thread up to a certain point but don't want to
> > continue until 2 other threads have finished executing some Init
> > statements
> [snip]
> > How should I implement it then? not using recursive_mutex?
>
> That sounds like a sync barrier will fit much better here.http://boost.org/doc/libs/1_44_0/doc/html/thread/synchronization.html...
>
> Christopher.
>
> _______________________________________________
> Boost-users mailing list
> Boost-us..._at_[hidden]http://lists.boost.org/mailman/listinfo.cgi/boost-users


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