comparison osdep/timer-win2.c @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents 5cfef41a1771
children 1453fc56d49c
comparison
equal deleted inserted replaced
29262:7d545a6b8aff 29263:0f1b5b68af32
35 { 35 {
36 return timeGetTime() ; 36 return timeGetTime() ;
37 } 37 }
38 38
39 int usec_sleep(int usec_delay){ 39 int usec_sleep(int usec_delay){
40 // Sleep(0) won't sleep for one clocktick as the unix usleep 40 // Sleep(0) won't sleep for one clocktick as the unix usleep
41 // instead it will only make the thread ready 41 // instead it will only make the thread ready
42 // it may take some time until it actually starts to run again 42 // it may take some time until it actually starts to run again
43 if(usec_delay<1000)usec_delay=1000; 43 if(usec_delay<1000)usec_delay=1000;
44 Sleep( usec_delay/1000); 44 Sleep( usec_delay/1000);
45 return 0; 45 return 0;
46 } 46 }
47 47
48 static DWORD RelativeTime = 0; 48 static DWORD RelativeTime = 0;