Talk:Sleep (system call)
|WikiProject Computing||(Rated Stub-class)|
- Yes, so I changed it. — Loadmaster 15:15, 26 May 2007 (UTC)
Sleep mode merge
- No, they are not. The Sleep mode article is about a stand-by power-down of a device, causing all programs to stop execution; this article is about the operating system call that causes a program/process/thread to become inactive, allowing other processes to continue execution. Two different concepts, two different articles. (I remember looking at the Sleep mode article before I created this one.) — Loadmaster 15:12, 26 May 2007 (UTC)
- I understand, but I fail to see why the system call is notable enough for its own article. The information would be better merged to the other article. We don't have a seperate article for Shutdown (a much older concept), and infact that article is over even a broader subject than both of these articles. --Android Mouse 04:23, 15 June 2007 (UTC)
Scratch that, I misread the article and your response. I thought the you (and the article) were refering to system call that put the computer into sleep mode, not the sleep system call for individual threads and processes. Sorry for the misunderstanding. --Android Mouse 04:26, 15 June 2007 (UTC)
sleep and threads
Thread (computer science) says that threads can go to sleep. Is this the same (by concept) sleep as the sleep in this article? Wouldn't it then make sense to restate the first sentence as: A computer program (process, thread or task) may sleep, which places it into an inactive state for a period of time.? --Abdull (talk) 15:10, 21 November 2007 (UTC)
Sleep vs. Stand by
Low level functionality
Seriously, who wrote this section? It is so wrongly based on Java implementation peculiarities rather than operating system support and incorrect on almost all acounts. For example, there is no such thing as a Wait syscall under Windows at all. — Preceding unsigned comment added by 220.127.116.11 (talk) 16:33, 26 October 2012 (UTC)
C code inside of a while loop.
The C code is inside of a while loop, but its never explained why this is so.
If we wanted to show off the use of a sleep function, why not just have it be:
Sleep(2*1000) //Sleep for 2 seconds
Uninterruptible sleep and Sleep system call?
What's the relationship between "Uninterruptible sleep" and "Sleep system call"?