void waitFlip() { // Block the PPU thread until the previous flip operation has finished. while (gcmGetFlipStatus() != 0) usleep(200); gcmResetFlipStatus(); }
void waitFlip () { while (gcmGetFlipStatus () != 0) usleep (200); /* Sleep, to not stress the cpu. */ gcmResetFlipStatus (); }
void waitFlip() { // Block the PPU thread untill the previous flip operation has finished. while(1){ int ret= gcmGetFlipStatus(); if(ret<=0) break; usleep(200); } gcmResetFlipStatus(); }
static void waitFlip() { int i = 0; while(gcmGetFlipStatus() != 0) { i++; usleep(200); if(i == 10000) { TRACE(TRACE_ERROR, "GLW", "Flip never happend"); exit(0); } } gcmResetFlipStatus(); }
static void waitFlip() { int i = 0; while(gcmGetFlipStatus() != 0) { i++; usleep(200); if(i == 10000) { TRACE(TRACE_ERROR, "GLW", "Flip never happend, system reboot"); Lv2Syscall3(379, 0x1200, 0, 0 ); gcmResetFlipStatus(); } } gcmResetFlipStatus(); }
void waitflip() { while (gcmGetFlipStatus() != 0) usleep(200); gcmResetFlipStatus(); }
void waitFlip() { // Block the PPU thread untill the previous flip operation has finished. while(gcmGetFlipStatus() != 0) usleep(200); // Sleep, to not stress the cpu. gcmResetFlipStatus(); }