Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Sleep.h

Go to the documentation of this file.
00001 #ifndef Impala_Util_Sleep_h
00002 #define Impala_Util_Sleep_h
00003 
00004 #include "Basis/ILog.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Util
00009 {
00010 
00011 
00012 inline void
00013 Sleep(int sec)
00014 {
00015 #ifdef unix
00016     sleep(sec);
00017 #else
00018     ::Sleep(sec * 1000); //millisec's
00019 #endif
00020 }
00021 
00022 } // namespace Util
00023 } // namespace Impala
00024 
00025 #endif

Generated on Fri Mar 19 09:31:47 2010 for ImpalaSrc by  doxygen 1.5.1