Address hung tests in Linux.

Follow-up patch coming to address test failures exposed by this change.

llvm-svn: 206618
This commit is contained in:
Todd Fiala 2014-04-18 17:01:01 +00:00
parent 889873d890
commit 3dbe13f6a8
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ POSIXThread::RefreshStateAfterStop()
GetRegisterContext()->InvalidateIfNeeded (force);
}
// FIXME: This should probably happen somewhere else.
SetResumeState(eStateRunning);
SetResumeState(eStateRunning, true);
Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD));
if (log)
log->Printf ("POSIXThread::%s (tid = %" PRIi64 ") setting thread resume state to running", __FUNCTION__, GetID());