static void * RunThread(void *data) { SDL_RunThread(data); pthread_exit((void *) 0); return ((void *) 0); /* Prevent compiler warning */ }
int RunThread(TAny* data) { CTrapCleanup* cleanup = CTrapCleanup::New(); TRAPD(err, SDL_RunThread(data)); EpocSdlEnv::CleanupItems(); delete cleanup; return(err); }
static void * RunThread(void *data) { #ifdef __ANDROID__ Android_JNI_SetupThread(); #endif SDL_RunThread(data); return NULL; }
int RunThread(TAny* data) { CTrapCleanup* cleanup = CTrapCleanup::New(); EpocSdlEnv::AppendThread(RThread().Id()); TRAPD(err, SDL_RunThread(data)); EpocSdlEnv::CleanupItems(); delete cleanup; EpocSdlEnv::RemoveThread(RThread().Id()); return(err); }
static DWORD RunThread(void *data) { pThreadStartParms pThreadParms = (pThreadStartParms) data; pfnSDL_CurrentEndThread pfnEndThread = pThreadParms->pfnCurrentEndThread; void *args = pThreadParms->args; SDL_free(pThreadParms); SDL_RunThread(args); if (pfnEndThread != NULL) pfnEndThread(0); return (0); }
static void threadfunc(void *pparm) { pThreadStartParms pThreadParms = pparm; pfnSDL_CurrentEndThread pfnCurrentEndThread = NULL; // Call the thread function! SDL_RunThread(pThreadParms->args); // Get the current endthread we have to use! if (pThreadParms) { pfnCurrentEndThread = pThreadParms->pfnCurrentEndThread; SDL_free(pThreadParms); } // Call endthread! if (pfnCurrentEndThread) (*pfnCurrentEndThread) (); }
static void threadfunc(void *pparm) { pThreadStartParms pThreadParms = pparm; pfnSDL_CurrentEndThread pfnCurrentEndThread = NULL; SDL_RunThread(pThreadParms->args); if (pThreadParms) { pfnCurrentEndThread = pThreadParms->pfnCurrentEndThread; SDL_free(pThreadParms); } if (pfnCurrentEndThread) (*pfnCurrentEndThread)(); }
static DWORD RunThread(void *data) { pThreadStartParms pThreadParms = (pThreadStartParms)data; pfnSDL_CurrentEndThread pfnCurrentEndThread = NULL; // Call the thread function! SDL_RunThread(pThreadParms->args); // Get the current endthread we have to use! if (pThreadParms) { pfnCurrentEndThread = pThreadParms->pfnCurrentEndThread; SDL_free(pThreadParms); } // Call endthread! if (pfnCurrentEndThread) (*pfnCurrentEndThread)(0); return(0); }
void *run_thread(void *data) { SDL_RunThread(data); return ((void *) 0); /* Prevent compiler warning */ }
static int ThreadEntry(SceSize args, void *argp) { SDL_RunThread(*(void **) argp); return 0; }
static void * RunThread(void *data) { SDL_RunThread(data); return NULL; }
static DWORD WINAPI RunThreadViaCreateThread(LPVOID data) { SDL_RunThread(data); return (0); }
int RunThread(TAny* data) { SDL_RunThread(data); return(0); }
static void RunThread(void *args) { SDL_RunThread(args); }
static int32 RunThread(void *data) { SDL_RunThread(data); return(0); }
static void RunThread(void *arg) { SDL_RunThread(arg); sysThreadExit(0); }
static void rbsdl_runthread(void) { void *args = global_args; global_args = NULL; SDL_RunThread(args); }