summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InlineCost.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-22 17:43:17 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-22 17:43:17 +0000
commit7ecb3a040bfdae9d51388b90417b8f9a0ee19558 (patch)
tree7306d406ccd19a2ff0a30bbf288b499fd2909bff /llvm/lib/Analysis/InlineCost.cpp
parent67f9e61127ebfaf4925b95597dd6d7d35fcb75c0 (diff)
downloadbcm5719-llvm-7ecb3a040bfdae9d51388b90417b8f9a0ee19558.tar.gz
bcm5719-llvm-7ecb3a040bfdae9d51388b90417b8f9a0ee19558.zip
Avoid the race condition Stephen Wilson was worried about in revision 123465 by making a local copy. We need to be able to have the private state thread let the lldb_private::Process class that it has exited, otherwise we end up with a timeout when the process destructor or DoDestroy is called where the private state thread has already exited and then StopPrivateStateThread() will wait for the thread which has already existed to respond to it.
llvm-svn: 124038
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud