Sleep (system call)
A computer program (process, task, or thread) may sleep, which places it into an inactive state for a minimum period of time. Eventually the expiration of an interval timer, or the receipt of a signal or interrupt causes the program to resume execution. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
A computer program (process, task, or thread) may sleep, which places it into an inactive state for a minimum period of time. Eventually the expiration of an interval timer, or the receipt of a signal or interrupt causes the program to resume execution. Sleep(2 * 1000); // Sleep for 2 seconds In Unix or POSIX system calls: sleep(2); // Sleep for 2 seconds
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision
Cite this
"Sleep (system call)". 1765839114. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1327747427 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy