Boost Users :
Subject: Re: [Boost-users] boost::thread and helgrind
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-01-04 16:01:01
Le 04/01/12 09:46, Frederick Roth a écrit :
> I am currently fooling around with boost::thread. After writing a
> short example program (featuring boost::thread and
> boost::interprocess::interprocess_semaphore), I ran helgrind against
> it and got some "Possible data race" errors.
> The program does nothing but start two threads and serialize them via
> the semaphore and I am unsure whether
> a) I did some error I am not aware of
> b) helgrind reports false positives
> I would be glad if someone could look at my code (attached) and give
> me a hint.
could you add the reported "possible data race"?
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