cvs: php-src /win32 time.c

From: Date: Tue, 13 Jan 2004 02:07:05 +0000
Subject: cvs: php-src /win32 time.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25623@lists.php.net to get a copy of this message
wez Mon Jan 12 21:07:05 2004 EDT Modified files: /php-src/win32 time.c Log: make usleep actually work properly Index: php-src/win32/time.c diff -u php-src/win32/time.c:1.8 php-src/win32/time.c:1.9 --- php-src/win32/time.c:1.8 Sat Nov 29 17:59:33 2003 +++ php-src/win32/time.c Mon Jan 12 21:07:04 2004 @@ -11,7 +11,7 @@ * *****************************************************************************/ -/* $Id: time.c,v 1.8 2003/11/29 22:59:33 wez Exp $ */ +/* $Id: time.c,v 1.9 2004/01/13 02:07:04 wez Exp $ */ /** * @@ -136,9 +136,9 @@ HANDLE timer; LARGE_INTEGER due; - due.QuadPart = -1000 * useconds; - timer = CreateWaitableTimer(NULL, TRUE, NULL); + due.QuadPart = -(10 * (__int64)useconds); + timer = CreateWaitableTimer(NULL, TRUE, NULL); SetWaitableTimer(timer, &due, 0, NULL, NULL, 0); WaitForSingleObject(timer, INFINITE); CloseHandle(timer);

« previous php.cvs (#25623) next »