$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost::recursive_mutex doesn't lock ???
From: christopher.pohl_at_[hidden]
Date: 2010-11-03 11:29:11
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#thread.synchronization.barriers
Christopher.