aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CompilerDriver/CompilationGraph.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-09-15 05:19:45 +0000
committerGreg Clayton <gclayton@apple.com>2010-09-15 05:19:45 +0000
commit86c3f345c6e1e8f16fdc364c5a7556b68a7e588d (patch)
treef8f9dc3f3514e9c893a834b67be656902e9ffab3 /llvm/lib/CompilerDriver/CompilationGraph.cpp
parent6757eae45e0ef3bde0de6789f45252f5b495bc78 (diff)
downloadllvm-86c3f345c6e1e8f16fdc364c5a7556b68a7e588d.zip
llvm-86c3f345c6e1e8f16fdc364c5a7556b68a7e588d.tar.gz
llvm-86c3f345c6e1e8f16fdc364c5a7556b68a7e588d.tar.bz2
Fixed a race condition that was sometimes stopping our command line
interpreter from working. The communication read thread could startup and immediately exit if m_read_thread_enabled was checked in the thread function before it was set by the thread that spawns the read thread. Now m_read_thread_enabled is set to true prior to spawning the read thread to avoid this issue. Hopefully this will clear up the sporatic failures in our test suite. llvm-svn: 113947
Diffstat (limited to 'llvm/lib/CompilerDriver/CompilationGraph.cpp')
0 files changed, 0 insertions, 0 deletions