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:
Jim Ingham
2014-03-28 21:58:28 +00:00
parent dca7c7c5f1
commit 914f4e7092
6 changed files with 86 additions and 10 deletions

View File

@@ -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
{