Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Test thread safety
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2019-02-20 21:43:46


On 19.11.18 16:25, Dan Field via Boost-users wrote:
> Hi folks:
>
>  
>
> I’m trying to identify whether or not the boost Test library is thread
> safe in the sense that multiple threads can simultaneously interact with
> the library’s various macros and API. I’m more interested in a single
> test being multi-threaded than being able to run multiple test cases
> simultaneously.
>
>  
>
> In early documentation of the Test library (version 1.58.0 and before) ,
> there’s a section in the introduction called “Open issues” that
> indicates that the library is /not/ thread-safe. However, the
> documentation after 1.58.0 was substantially re-written, and I don’t see
> any discussion regarding thread safety at all.
>
>  
>
> The question remains… is the Test library thread-safe or not? If there
> is a definitive statement regarding this issue, please let me know.
>
>  
>
> Thanks in advance!
>

As of today, virtually nothing has been done to make the library thread
safe. It is not impossible but it would require quite a chunk of work.

Raffi


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