$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Is boost test thread-safe?
From: David Blaikie (dblaikie_at_[hidden])
Date: 2011-05-09 02:49:09
>
> I tried to write a few wrappers, it isn't so trivial. The main issue is
> that we can't be locking a mutex /unless/ the test condition fails,
> otherwise it would significantly interfere with the test.
Why would that be the case? all that will do is stop two validation calls
from overlapping. What sort of problems would that cause to the test
itself?
(I haven't double checked, but if boost uses exceptions to propagate
failures, you might have to deal with that if these things happen on
background threads)