Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
An Entity of Type: Abstraction100002137, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computer operating systems, a process (or task) may wait on another process to complete its execution. In most systems, a parent process can create an independently executing child process. The parent process may then issue a wait system call, which suspends the execution of the parent process while the child executes. When the child process terminates, it returns an exit status to the operating system, which is then returned to the waiting parent process. The parent process then resumes execution.

Property Value
dbo:abstract
  • V moderních operačních systémech může proces využít systémové volání wait za účelem vyčkání na dokončení běhu jiného procesu. Ve většině systémů může rodičovský proces vytvořit nezávisle se provádějící potomek. Rodičovský proces následně může použít systémové volání wait, které pozastaví vykonávání rodičovského procesu do doby, než se ukončí potomek. Tento potomek při svém ukončení vrátí operačnímu systému. Operační systém následně zašle tento kód čekajícímu rodičovskému procesu, který obnoví své provádění. Moderní operační systémy také poskytují systémové volání umožňující používání vláken procesů podobným způsobem. Operační systém může poskytovat více variant systémového volání wait, které umožní počkat na ukončení jakéhokoliv potomka anebo počkat na jednoho potomka identifikovaného pomocí jeho PID. Některé operační systémy rodičovskému procesu zašlou signál SIGCHLD v okamžiku, kdy se potomek ukončí za účelem informování rodičovského procesu a umožnění získání návratového kódu potomka. (cs)
  • In computer operating systems, a process (or task) may wait on another process to complete its execution. In most systems, a parent process can create an independently executing child process. The parent process may then issue a wait system call, which suspends the execution of the parent process while the child executes. When the child process terminates, it returns an exit status to the operating system, which is then returned to the waiting parent process. The parent process then resumes execution. Modern operating systems also provide system calls that allow a process's thread to create other threads and wait for them to terminate ("" them) in a similar fashion. An operating system may provide variations of the wait call that allow a process to wait for any of its child processes to exit, or to wait for a single specific child process (identified by its process ID) to exit. Some operating systems issue a signal (SIGCHLD) to the parent process when a child process terminates, notifying the parent process and allowing it to retrieve the child process's exit status. The exit status returned by a child process typically indicates whether the process terminated normally or abnormally. For normal termination, this status also includes the exit code (usually an integer value) that the process returned to the system. During the first 20 years of UNIX, only the low 8 bits of the exit code have been available to the waiting parent. In 1989 with SVR4, a new call waitid has been introduced that returns all bits from the exit call in a structure called siginfo_t in the structure member si_status. Waitid is a mandatory part of the POSIX standard since 2001. (en)
  • wait(意指“等待”)为类UNIX操作系统系统调用。 (zh)
dbo:wikiPageID
  • 9780918 (xsd:integer)
dbo:wikiPageLength
  • 4170 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 979274933 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
rdf:type
rdfs:comment
  • wait(意指“等待”)为类UNIX操作系统系统调用。 (zh)
  • V moderních operačních systémech může proces využít systémové volání wait za účelem vyčkání na dokončení běhu jiného procesu. Ve většině systémů může rodičovský proces vytvořit nezávisle se provádějící potomek. Rodičovský proces následně může použít systémové volání wait, které pozastaví vykonávání rodičovského procesu do doby, než se ukončí potomek. Tento potomek při svém ukončení vrátí operačnímu systému. Operační systém následně zašle tento kód čekajícímu rodičovskému procesu, který obnoví své provádění. (cs)
  • In computer operating systems, a process (or task) may wait on another process to complete its execution. In most systems, a parent process can create an independently executing child process. The parent process may then issue a wait system call, which suspends the execution of the parent process while the child executes. When the child process terminates, it returns an exit status to the operating system, which is then returned to the waiting parent process. The parent process then resumes execution. (en)
rdfs:label
  • Wait (systémové volání) (cs)
  • Wait (system call) (en)
  • Wait (Unix) (zh)
rdfs:seeAlso
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License