Also pass nanos to sleepThread function.
authortwisti <none@none>
Sun, 20 Jun 2004 20:59:12 +0000 (20:59 +0000)
committertwisti <none@none>
Sun, 20 Jun 2004 20:59:12 +0000 (20:59 +0000)
src/threads/green/threads.c
src/threads/green/threads.h
threads/thread.c
threads/thread.h

index 09536e19cddfa1667be1670e800e7a3ad2964ead..219f989d5fa691687d19cc7ec358514c1387f8bc 100644 (file)
@@ -762,7 +762,7 @@ currentTime (void)
  * Put a thread to sleep.
  */
 void
-sleepThread (s8 time)
+sleepThread(s8 time, s4 nanos)
 {
     thread** tidp;
 
index 2fb7d2670e9abc7d94436e4021d88332f2723d1e..599e2dada20b3444e70ada169599e664749ba96d 100644 (file)
@@ -139,7 +139,7 @@ void killThread (thread*);
 void setPriorityThread (thread*, int);
 
 s8 currentTime (void);
-void sleepThread (s8);
+void sleepThread(s8 millis, s4 nanos);
 bool aliveThread (thread*);
 long framesThread (thread*);
 
index 09536e19cddfa1667be1670e800e7a3ad2964ead..219f989d5fa691687d19cc7ec358514c1387f8bc 100644 (file)
@@ -762,7 +762,7 @@ currentTime (void)
  * Put a thread to sleep.
  */
 void
-sleepThread (s8 time)
+sleepThread(s8 time, s4 nanos)
 {
     thread** tidp;
 
index 2fb7d2670e9abc7d94436e4021d88332f2723d1e..599e2dada20b3444e70ada169599e664749ba96d 100644 (file)
@@ -139,7 +139,7 @@ void killThread (thread*);
 void setPriorityThread (thread*, int);
 
 s8 currentTime (void);
-void sleepThread (s8);
+void sleepThread(s8 millis, s4 nanos);
 bool aliveThread (thread*);
 long framesThread (thread*);