Add classes ProtectedCall and Main

This commit is contained in:
Vinnie Falco
2013-07-28 13:42:19 -07:00
parent 04fadc84a6
commit cb47146b3b
22 changed files with 429 additions and 556 deletions

View File

@@ -98,7 +98,7 @@ void Thread::threadEntryPoint()
// used to wrap the incoming call from the platform-specific code
void BEAST_API beast_threadEntryPoint (void* userData)
{
static_cast <Thread*> (userData)->threadEntryPoint();
ProtectedCall (&Thread::threadEntryPoint, static_cast <Thread*> (userData));
}
//==============================================================================