9 years, 3 months ago
Highlights
Ok, heres the code after following your directions: while (SDL_WaitEvent(g_pEventData)) { //printf("sdl_refresh(): SDL_PollEvent loop. g_pEventData->type=%d eventCount=%u\n",…
9 years, 3 months ago
9 years, 3 months ago
Hi, I am writing a Windows multithreaded SDL 1.2 application, and am trying to fix a performance bug by process of elimination (graphics thread only wakes up once every 5 second…
9 years, 3 months ago
9 years, 3 months ago
After further research, I found this question here:https://stackoverflow.com/questions/6095760/cpu-usage-doesnt-drop-during-sleepex ...where Lyubomyu says he has seen this issue…
9 years, 3 months ago
Latest Activity
See all in DiscussionsOk, heres the code after following your directions: while (SDL_WaitEvent(g_pEventData)) { //printf("sdl_refresh(): SDL_PollEvent loop. g_pEventData->type=%d eventCount=%u\n", g_pEventData->type,
9 years, 3 months ago
After further research, I found this question here:https://stackoverflow.com/questions/6095760/cpu-usage-doesnt-drop-during-sleepex ...where Lyubomyu says he has seen this issue before. Are SDL applic
9 years, 3 months ago
Thanks for the response, Washu. That loop _IS_ its own thread and runs until it gets sdl_quit. The loop predicate …
9 years, 3 months ago