int SDLThreadFunc(void *data) { Threaded *target = (Threaded*)data; target->runThread(); return 1; }
DWORD WINAPI Win32LaunchThread(LPVOID data) { Threaded *threaded = (Threaded*)data; threaded->runThread(); return 1; }
void *AGLThreadFunc(void *data) { Threaded *target = static_cast<Threaded*>(data); target->runThread(); return NULL; }