MPI 04.00 Reference >> mpiPlatform

mpiPlatformSleep

Declaration

void mpiPlatformSleep(int32_t   milliseconds)

 

Required Header: stdmpi.h

Description

mpiPlatformSleep 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 XP has a quanta of 10 ms. For example, even if mpiPlatformSleep(2) is specified, the actual sleep period will essentially be equivalent to mpiPlatformSleep(10).

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