$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Levente Farkas (lfarkas_at_[hidden])
Date: 2000-09-14 08:07:51
Levente Farkas wrote:
> -----------
> {
> {
> boost::lock lock(m);
> int i = a.get();
> }
> while (i < 10)
> {
> <some code>
> f();
> <some code>
> {
> boost::lock lock(m);
> a.next();
> i = a.get();
> }
> }
> }
> -----------
hmm, the int i have to be defined outside the first block:-)
-- Levente
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."