On 06/09/14 08:51, Dave Ohlsson wrote:
int i = 0;
int main()
{
std::thread t1( []() { i = 1; } );
std::thread t2( []() { i = 2; } );
t1.join();
t2.join();
std::cerr i = i std::endl;
return 0;
}
[other code as before]
/updated part of main.cc
The
On 06/06/14 09:33, Dave Ohlsson wrote:
However, the code you posted, and the included comments, match pretty
much what I already did.
Hello Dave,
I have updated the C++11 instructions in the DRD manual and also the
drd/tests/std_thread.cpp test program. The DRD manual can be generated
as
On 06/06/14 09:33, Dave Ohlsson wrote:
However, the code you posted, and the included comments, match pretty
much what I already did.
I'm afraid that means that the instructions for shared pointer
annotation in the libstdc++ manual are still broken. See also
Hi,
I posted yesterday a question to stackoverflow regarding problems I am
having with Helgrind/DRD and C++11 thread:
http://stackoverflow.com/questions/24060626/cannot-get-helgrind-drd-work-with-c11-thread
but got no answer.
Any help here?
-- dave