| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]

# Method delay()

Method delay

  `void delay(int|float s)`

Description

  This function makes the program stop for s seconds.

  Only signal handlers can interrupt the sleep. Other callbacks are not called during delay. Beware that this function uses busy-waiting to achieve the highest possible accuracy.

See also

  signal() , sleep()