Talk:Sleep (system call)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
WikiProject Computing (Rated Stub-class)
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 
Note icon
This article has been automatically rated by a bot or other tool as Stub-Class because it uses a stub template. Please ensure the assessment is correct before removing the |auto= parameter.

Infinite loop[edit]

Is the infinite wait loop talked about here acutally an event loop? --Abdull 15:50, 19 April 2007 (UTC)

Yes, so I changed it. — Loadmaster 15:15, 26 May 2007 (UTC)

Sleep mode merge[edit]

This article and Sleep mode are both stub and about the same subject. I propose a merge. --Android Mouse 17:27, 24 May 2007 (UTC)

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[edit]

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[edit]

What's the differnce between sleep and stand by? --Marshall T. Williams (talk) 19:54, 1 January 2009 (UTC)

Low level functionality[edit]

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 92.192.119.211 (talk) 16:33, 26 October 2012 (UTC)

C code inside of a while loop.[edit]

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

Robodoggy (talk) 23:23, 30 October 2012 (UTC)

Uninterruptible sleep and Sleep system call?[edit]

What's the relationship between "Uninterruptible sleep" and "Sleep system call"?

The previous one has nothing to do with the system call which happened to have a similar name. Yegle (talk) 06:17, 28 February 2014 (UTC)