xHarbour Reference Documentation > Function Reference |
Suspends thread execution for a number of seconds.
SecondsSleep( <nSeconds> ) --> NIL
The function returns always NIL.
Function SecondsSleep() suspends program execution in the current thread for the period of <nSeconds> seconds. During this period of time, no CPU resources are consumed by the current thread. The function accepts a numeric value with up to 3 decimal places (1/1000th of a second).
Note: this function is also available in single threaded applications.
See also: | Inkey(), StartThread(), ThreadSleep(), WAIT |
Category: | Multi-threading functions , xHarbour extensions |
Source: | vm\thread.c |
LIB: | xhbmt.lib |
DLL: | xhbmtdll.dll |
http://www.xHarbour.com