Remove BEAST_CATCH_UNHANDLED_EXCEPTIONS

This commit is contained in:
Vinnie Falco
2013-09-09 13:34:18 -07:00
parent d8ea4f9b06
commit 4676db126a
6 changed files with 15 additions and 59 deletions

View File

@@ -79,22 +79,18 @@ void Thread::threadEntryPoint()
const CurrentThreadHolder::Ptr currentThreadHolder (getCurrentThreadHolder());
currentThreadHolder->value = this;
BEAST_TRY
if (threadName.isNotEmpty())
setCurrentThreadName (threadName);
if (startSuspensionEvent.wait (10000))
{
if (threadName.isNotEmpty())
setCurrentThreadName (threadName);
bassert (getCurrentThreadId() == threadId);
if (startSuspensionEvent.wait (10000))
{
bassert (getCurrentThreadId() == threadId);
if (affinityMask != 0)
setCurrentThreadAffinityMask (affinityMask);
if (affinityMask != 0)
setCurrentThreadAffinityMask (affinityMask);
run();
}
run();
}
BEAST_CATCH_ALL_ASSERT
currentThreadHolder->value.releaseCurrentThreadStorage();
closeThreadHandle();