Hang

Examples of Hang

The HANG command suspends GT.M program execution for a period of time specified by the command argument.

The format of the HANG command is:

        H[ANG][:tvexpr] numexpr[,...]
      

A process that repeatedly tests for some event, such as a device becoming available or another process modifying a global variable, may use a HANG to limit its consumption of computing resources.

Because HALT and HANG share the same abbreviation (H), GT.M differentiates them based on whether an argument follows the command.