From 815158a58250e735261854c4521b507666234276 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 13 Aug 2002 01:08:15 +0000 Subject: [PATCH] Timing fixes svn path=/trunk/thread/; revision=3808 --- thread/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread/thread.c b/thread/thread.c index 26038b1..c9814c6 100644 --- a/thread/thread.c +++ b/thread/thread.c @@ -568,7 +568,7 @@ void thread_sleep(unsigned long len) struct timeval tv; tv.tv_sec = len / 1000000; - tv.tv_usec = (len % 1000000) / 1000; + tv.tv_usec = (len % 1000000); select(0, NULL, NULL, NULL, &tv); # endif