Esempio n. 1
0
static void *
RunThread(void *data)
{
    SDL_RunThread(data);
    pthread_exit((void *) 0);
    return ((void *) 0);        /* Prevent compiler warning */
}
Esempio n. 2
0
int RunThread(TAny* data)
{
	CTrapCleanup* cleanup = CTrapCleanup::New();
	TRAPD(err, SDL_RunThread(data));
	EpocSdlEnv::CleanupItems();
	delete cleanup;
	return(err);
}
Esempio n. 3
0
static void *
RunThread(void *data)
{
#ifdef __ANDROID__
    Android_JNI_SetupThread();
#endif
    SDL_RunThread(data);
    return NULL;
}
Esempio n. 4
0
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);
    }
Esempio n. 5
0
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);
}
Esempio n. 6
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) ();
}
Esempio n. 7
0
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);
}
Esempio n. 9
0
void *run_thread(void *data)
{
    SDL_RunThread(data);
    return ((void *) 0); /* Prevent compiler warning */
}
Esempio n. 10
0
static int ThreadEntry(SceSize args, void *argp)
{
    SDL_RunThread(*(void **) argp);
    return 0;
}
Esempio n. 11
0
static void *
RunThread(void *data)
{
    SDL_RunThread(data);
    return NULL;
}
Esempio n. 12
0
static DWORD WINAPI
RunThreadViaCreateThread(LPVOID data)
{
	SDL_RunThread(data);
	return (0);
}
Esempio n. 13
0
int RunThread(TAny* data)
{
	SDL_RunThread(data);
	return(0);
}
Esempio n. 14
0
static void
RunThread(void *args)
{
    SDL_RunThread(args);
}
Esempio n. 15
0
static int32 RunThread(void *data)
{
	SDL_RunThread(data);
	return(0);
}
Esempio n. 16
0
static void
RunThread(void *arg)
{
    SDL_RunThread(arg);
	sysThreadExit(0);
}
Esempio n. 17
0
static void rbsdl_runthread(void)
{
    void *args = global_args;
    global_args = NULL;
    SDL_RunThread(args);
}