Home
last modified time | relevance | path

Searched refs:SDL_ThreadID (Results 1 – 25 of 25) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/test/
Dtestlock.c29 printf("Process %u: exiting\n", SDL_ThreadID()); in printid()
39 Uint32 id = SDL_ThreadID(); in closemutex()
49 if ( SDL_ThreadID() == mainthread ) in Run()
52 printf("Process %u ready to work\n", SDL_ThreadID()); in Run()
57 printf("Process %u, working!\n", SDL_ThreadID()); in Run()
59 printf("Process %u, done!\n", SDL_ThreadID()); in Run()
66 if (SDL_ThreadID() == mainthread && doterminate) { in Run()
67 printf("Process %u: raising SIGTERM\n", SDL_ThreadID()); in Run()
91 mainthread = SDL_ThreadID(); in main()
Dtesterror.c24 (char *)data, SDL_ThreadID(), "nevermind"); in ThreadFunc()
Dtesthread.c23 (char *)data, SDL_ThreadID()); in ThreadFunc()
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
DSDL_systhread.c42 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
99 riscos_main_thread = SDL_ThreadID(); in SDL_SYS_CreateThread()
125 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/
DSDL_systimer.c45 extern Uint32 SDL_ThreadID();
94 if (SDL_EventThreadID() == SDL_ThreadID()) is_event_thread = 1; in SDL_Delay()
95 } else if (SDL_ThreadID() == riscos_main_thread) is_event_thread = 1; in SDL_Delay()
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
DSDL_sysmutex.c75 this_thread = SDL_ThreadID(); in SDL_mutexP()
104 if ( SDL_ThreadID() != mutex->owner ) { in SDL_mutexV()
DSDL_systhread.c47 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
DSDL_sysmutex.c82 this_thread = SDL_ThreadID(); in SDL_mutexP()
111 if ( SDL_ThreadID() != mutex->owner ) { in SDL_mutexV()
DSDL_systhread.c40 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
DSDL_systhread.c72 riscos_main_thread = SDL_ThreadID(); in SDL_SYS_CreateThread()
100 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/
DSDL_thread.c157 this_thread = SDL_ThreadID(); in SDL_GetErrBuf()
193 args->info->threadid = SDL_ThreadID(); in SDL_RunThread()
288 id = SDL_ThreadID(); in SDL_GetThreadID()
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_audio.c138 audio->threadid = SDL_ThreadID(); in SDL_RunAudio()
163 printf("[SDL_RunAudio] : Setting priority to TimeCritical+0! (TID%d)\n", SDL_ThreadID()); in SDL_RunAudio()
170 … printf("[SDL_RunAudio] : Setting priority to ForegroundServer+0! (TID%d)\n", SDL_ThreadID()); in SDL_RunAudio()
233 printf("[SDL_RunAudio] : Task exiting. (TID%d)\n", SDL_ThreadID()); in SDL_RunAudio()
241 if ( audio->thread && (SDL_ThreadID() == audio->threadid) ) { in SDL_LockAudio_Default()
249 if ( audio->thread && (SDL_ThreadID() == audio->threadid) ) { in SDL_UnlockAudio_Default()
/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_events.c64 if ( SDL_EventThread && (SDL_ThreadID() != event_thread) ) { in SDL_Lock_EventThread()
74 if ( SDL_EventThread && (SDL_ThreadID() != event_thread) ) { in SDL_Unlock_EventThread()
92 event_thread = SDL_ThreadID(); in SDL_GobbleEvents()
/external/qemu/distrib/sdl-1.2.15/src/timer/
DSDL_timer.c127 t, SDL_ThreadID()); in SDL_ThreadedTimerCheck()
229 …%08x) = %d num_timers = %d thread = %d\n", (Uint32)id, removed, SDL_timer_running, SDL_ThreadID()); in SDL_RemoveTimer()
/external/qemu/distrib/sdl-1.2.15/src/thread/irix/
DSDL_systhread.c66 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/pth/
DSDL_systhread.c89 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/
DSDL_systhread.c81 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
DSDL_systhread.c88 DECLSPEC Uint32 SDLCALL SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_thread.h92 extern DECLSPEC Uint32 SDLCALL SDL_ThreadID(void);
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
DSDL_systhread.cpp107 Uint32 SDL_ThreadID(void) in SDL_ThreadID() function
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/
DSDL_systhread.c144 Uint32 SDL_ThreadID(void) function
/external/qemu/distrib/sdl-1.2.15/src/main/macos/exports/
DSDL.x124 SDL_ThreadID
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
DSDL_nxvideo.c431 if (event_thread && (SDL_ThreadID () == event_thread)) { in NX_ToggleFullScreen()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11video.c1262 if ( event_thread && (SDL_ThreadID() == event_thread) ) { in X11_ToggleFullScreen()
/external/qemu/distrib/sdl-1.2.15/
DWhatsNew638 A new function SDL_ThreadID() returns the identifier associated with