Top "Sleep" questions

sleep is a system call that suspends a process or thread for a specified amount of time

What is the best way to program a delay in Delphi?

A Delphi application that I'm working on must delay for one, or sometimes two, second(s). I want to program …

delphi events timer delphi-xe2 sleep
Set a one line powershell for sleep and hibernate to turn off

powershell -Command "& {c:\windows\system32\powercfg.exe -change -monitor-timeout-ac 0; c:\windows\system32\powercfg.exe - change - monitor - …

powershell command sleep hibernation
PHP - sleep() in milliseconds

Does PHP provide a function to sleep in milliseconds? Right now, I'm doing something similar to this, as a workaround. $…

php synchronization sleep
Thread.sleep() in a while loop

I notice that NetBeans is warning me about using Thread.sleep() in a while loop in my Java code, so …

java while-loop sleep
Significance of Sleep(0)

I used to see Sleep(0) in some part of my code where some infinite/long while loops are available. I …

c++ visual-c++ process sleep
Sleep() function usage

This is a sample pgm to check the functionality of Sleep() function.This is a demo only since iam using …

c++ sleep clock timing
what is the iOS sleep function

I am looking for a function that puts a thread to sleep on iOS for c++ code, or even objective-c …

ios multithreading sleep
How to wake esp8266 from deep sleep without continuous resets

I'm building an IR to wifi bridge using an esp8266. Basically I'm building an IR receiver connected to an esp8266 …

sleep esp8266 interrupt-handling infrared sleep-mode
boost::this_thread::sleep() vs. nanosleep()?

I recently came across the need to sleep the current thread for an exact period of time. I know of …

c++ boost posix sleep
Does sleep time count for execution time limit?

I have two questions concerning the sleep() function in PHP: Does the sleep time affect the maximum execution time limit …

php sleep execution max