.

meiPlatformSleep

Declaration

 
void meiPlatformSleep(long   milliseconds)
  Required Header: stdmei.h

Description

meiPlatformSleep puts the current thread to sleep for the number of milliseconds specified.

NOTE:
Different platforms have different time slice "quanta" (minimum sleep resolution) for threads. For example, Windows NT, 2000, and XP have a quanta of 10ms. For example, even if meiPlatformSleep(2) is specified, the actual sleep period will essentially be equivalent to meiPlatformSleep(10).

 
milliseconds the number of milliseconds for which to put the current thread to sleep

See Also

 

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering