Sleep (system call)
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.
Usage
A typical sleep system call takes a time value as a parameter, specifying the minimum amount of time that the process is to sleep before resuming execution. The parameter typically specifies seconds, although some operating systems provide finer resolution, such as milliseconds or microseconds.
Windows
On Windows, the Sleep() function takes a single parameter of the number of milliseconds to sleep. The Sleep() function is included in kernel32.dll.
The Sleep() function has a resolution no higher than the current timer resolution, typically 16ms but at minimum 1ms, adjustable via the timeBeginPeriod() family of "media timer" APIs. For higher precisions, it is necessary to use a busy loop over QueryPerformanceCounter(), such as the one used in gnulib.
Unix
On Unix-like and other POSIX operating systems, the sleep() function is called providing a single parameter of type unsigned integer of the number of seconds to sleep. A higher-precision version is the nanosleep() function and the now deprecated usleep.
The public source identifies “Sleep (system call)” as system call. This brief keeps that definition visible, then builds a research path around Sleep, system and call.
Why this record matters
A short description can identify a subject without explaining its stakes. For “Sleep (system call)”, the useful work is to connect “system call” to the records capable of establishing context and consequence.
The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Dec 15, 2025. The linked authority identifier is Q4683692. None of the 0 selected statements returned an explicit reference.
A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The source lead contains qualifying language; that uncertainty should survive quotation, summary and reuse. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Sleep (system call)”, its source revision and the description used here.
- Expand the search: follow Sleep (system call) primary sources, Sleep (system call) archive and Sleep research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Sleep (system call)”?
- Which institution is responsible for the underlying evidence?
- What terminology or title could unlock a more precise catalogue search?
Search terms from this dossier
This entry incorporates text from “Sleep (system call)” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.