anyKode Marilou
ContentsIndexHome
PreviousUpNext
Connection::Wait

Suspend the calling thread for a delay.

C++
MU32 Wait(MU32 MilliSecondsToWaitFor);
Parameters 
Description 
MU32 MilliSecondsToWaitFor 
[in] Minimum time interval for which execution is to be suspended, in milliseconds : the precision is function of the simulation engine granularity. For example a simulation which is carried out with an increment of time of 10ms will not know 'waiting for' 2 ms or 11 ms... In this case, waiting of 10ms for the 2 required, and 20ms for the 11 required. 

The current simulated time.

The Wait function suspends the execution of the current thread for at least the specified interval. The interval unit is simulated milli seconds.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!