Extracted from Pike v7.4 release 117 at 2005-08-23.
pike.ida.liu.se
[Top]
predef::

Method sleep()


Method sleep

void sleep(int|float s, void|int abort_on_signal)

Description

This function makes the program stop for s seconds.

Only signal handlers can interrupt the sleep, and only when abort_on_signal is set. If more than one thread is running the signal must be sent to the sleeping thread. Other callbacks are not called during sleep.

See also

signal() , delay()