Top "Sleep" questions

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

Is it possible to cause Web Workers to Sleep?

Since web workers negate the disadvantages of paused execution in JavaScript, as they will not block UI, is there a …

javascript sleep web-worker
does location manager keeps working when device goes to sleep?

My application requests for updates in a service on background when a boolean flag is set to true. If flag …

android sleep locationmanager wakelock
Why is "sleeping" not allowed while holding a spinlock?

Possible Duplicate: Why can't you sleep while holding spinlock? As far as I know, spinlocks should be used in short …

c synchronization linux-kernel sleep spinlock
increasing time delay for login to stop bruteforcing, good idea?

I have set up my db to log every failed login attempt. I thought I would multiply the number of …

php passwords sleep password-protection brute-force
Robot.delay(int) versus Thread.sleep(long)

I have a program whose only purpose is to drive a java.awt.Robot in an infinite loop until an …

java multithreading delay sleep awtrobot
How to prevent an android device from entering sleep (via adb command shell)

I am working on an embedded board with android on it. Unfortunately I cannot use the display as I dont …

android adb sleep suspend
How to prevent a monitor from sleeping while watching html 5 animation

Is there a way to prevent a monitor from sleeping while on a web page? I have a page with …

html webpage sleep monitor
SwitchToThread vs Sleep(1)

I'm wondering what's the actual difference between calling Thread.Sleep(1) and calling SwitchToThread (if we ignore that it's currently not …

c# .net multithreading winapi sleep
_mm_pause usage in gcc on Intel

I have refered to this webpage : https://software.intel.com/en-us/articles/benefitting-power-and-performance-sleep-loops , the following I can not understand : the …

linux x86 intel sleep pause
Sleep Windows from Java

Is there command to use on windows from java to make the computer sleep?

java windows sleep standby