Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-11-27 20:49:10


"Andrea Murru" <andrea.murru_at_[hidden]> wrote in message
news:ekf7nu$iif$2_at_sea.gmane.org...
> Hi!
> I have started some experiment with boost.test library, and I found it
> very flexible and quite simple to use.
> My question is very simple: what are guaranties about multithreading ?

As of now Boost.Test routines are reentrant, but not thread safe
unfortunately. There some kind of solution should appear in 1.35. My primary
concern is portabilty. I need to decide what I can rely upon.

> Can I call BOOST_CHECK from different threads ?

No. Unless you will sync the calls.

> Can I check predicates
> that internally call synchronization functions (i.e.
> waitformultipleobjects) ?

I am not sure.

> Thank a lot for any suggestion.
>
> Andrea

Gennadiy


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