MCPcopy Create free account
hub / github.com/aldostools/webMAN-MOD / sys_ppu_thread_sleep

Function sys_ppu_thread_sleep

include/init/timer.h:1–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1static void sys_ppu_thread_sleep(u32 seconds)
2{
3 sys_ppu_thread_yield();
4
5 seconds *= 8;
6 for(u32 n = 0; n < seconds; n++)
7 {
8 if(!working) break;
9 sys_timer_usleep(125000);
10 }
11}
12
13#define sys_ppu_thread_usleep sys_timer_usleep

Callers 15

wwwd_threadFunction · 0.85
wwwd_startFunction · 0.85
close_ftp_sessions_idleFunction · 0.85
ftpd_threadFunction · 0.85
wait_for_title_idFunction · 0.85
exec_xmb_itemFunction · 0.85
start_xmb_playerFunction · 0.85
wait_for_new_socketFunction · 0.85
www_client.hFile · 0.85
start_wwwFunction · 0.85
auto_playFunction · 0.85
mount.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected