| gclib 367 Communications API for Galil controllers and PLCs |

All Data Structures Files Functions Variables Typedefs Macros Pages

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_ms | The timeout, in milliseconds, to block before returning.

See GMotionComplete() for an example.

Definition at line 16 of file gclibo.c.

References G_UTIL_SLEEP, and GUtility().

Referenced by GMotionComplete().