Add the ability from the SB API's to set the "one thread" timeout
for expression evaluations that try one and then all threads. <rdar://problem/15598528> llvm-svn: 205060
This commit is contained in:
@@ -101,6 +101,18 @@ SBExpressionOptions::SetTimeoutInMicroSeconds (uint32_t timeout)
|
||||
m_opaque_ap->SetTimeoutUsec (timeout);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds () const
|
||||
{
|
||||
return m_opaque_ap->GetOneThreadTimeoutUsec ();
|
||||
}
|
||||
|
||||
void
|
||||
SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds (uint32_t timeout)
|
||||
{
|
||||
m_opaque_ap->SetOneThreadTimeoutUsec (timeout);
|
||||
}
|
||||
|
||||
bool
|
||||
SBExpressionOptions::GetTryAllThreads () const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user