
4 Jan
2012
4 Jan
'12
9:01 p.m.
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.
Hi, could you add the reported "possible data race"? Vicente