From 0e317286f3a03ca691ef454105849a306face508 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Sun, 27 Aug 2006 04:53:52 +0000 Subject: [PATCH] Did it say miliseconds ? This commit was SVN r11440. --- opal/win32/ompi_misc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opal/win32/ompi_misc.h b/opal/win32/ompi_misc.h index 0a67b36bbd..3048c6d9a6 100644 --- a/opal/win32/ompi_misc.h +++ b/opal/win32/ompi_misc.h @@ -24,6 +24,7 @@ #define _SC_PAGESIZE 0 #define _SC_OPEN_MAX 1 +#if 0 /* currently, this is a memory leak */ static __inline char* getenv (const char *name) { @@ -53,11 +54,12 @@ static __inline int setenv (const char *name, const char *value, int rewrite) ret = SetEnvironmentVariable ((LPCSTR)name, (LPCSTR)value); return (0 != ret)? 1: 0; } +#endif static __inline unsigned int sleep(unsigned int seconds) { /* Allow interruptions */ - SleepEx(seconds * 100, TRUE); + SleepEx(seconds * 1000, TRUE); return 0; }