pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]

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()

Module reference for Pike v7.8 release 116, 2008-12-31