gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ GSleep()

void GCALL GSleep ( unsigned int  timeout_ms)

Uses GUtility() and G_UTIL_SLEEP to provide a blocking sleep call which can be useful for timing-based chores.

Parameters
timeout_msThe timeout, in milliseconds, to block before returning.

See GWaitForBool() for an example.

Definition at line 24 of file gclibo.c.

References G_UTIL_SLEEP, and GUtility().

Referenced by contour(), GIpRequests(), GWaitForBool(), record_position(), vector(), x_gread_gwrite(), and x_programs().