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:
		
							parent
							
								
									889873d890
								
							
						
					
					
						commit
						3dbe13f6a8
					
				| 
						 | 
					@ -110,7 +110,7 @@ POSIXThread::RefreshStateAfterStop()
 | 
				
			||||||
        GetRegisterContext()->InvalidateIfNeeded (force);
 | 
					        GetRegisterContext()->InvalidateIfNeeded (force);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    // FIXME: This should probably happen somewhere else.
 | 
					    // FIXME: This should probably happen somewhere else.
 | 
				
			||||||
    SetResumeState(eStateRunning);
 | 
					    SetResumeState(eStateRunning, true);
 | 
				
			||||||
    Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD));
 | 
					    Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD));
 | 
				
			||||||
    if (log)
 | 
					    if (log)
 | 
				
			||||||
        log->Printf ("POSIXThread::%s (tid = %" PRIi64 ") setting thread resume state to running", __FUNCTION__, GetID());
 | 
					        log->Printf ("POSIXThread::%s (tid = %" PRIi64 ") setting thread resume state to running", __FUNCTION__, GetID());
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue