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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to