Child process

Child process

A child process in computing is a process created by another process (the parent process).

A child process inherits most of its attributes, such as open files, from its parent. In UNIX, a child process is in fact created (using fork) as a copy of the parent. The child process can then overlay itself with a different program (using exec) as required.

Each process may create many child processes but will have at most one parent process; if a process does not have a parent this usually indicates that it was created directly by the kernel. In some systems, including UNIX based systems such as Linux, the very first process (called init) is started by the kernel at booting time and never terminates (see Linux startup process); other parentless processes may be launched to carry out various daemon tasks in userspace. Another way for a process to end up without a parent is if its parent dies, leaving an orphan process; but in this case it will shortly be adopted by init.

See also

References

  1. ^ pstree(1): print process trees – Linux User Commands Manual

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Child (disambiguation) — Child (and its plural, children) normally refers to a child, a person who is not yet an adult. The term may also refer to: Child (surname) Contents 1 In psychology 2 In computer science 3 In medicine …   Wikipedia

  • Process group — In POSIX conformant operating systems, a process group denotes a collection of one or more processes. Process groups are used to control the distribution of signals. A signal directed to a process group is delivered individually to all of the… …   Wikipedia

  • Process (computing) — In computing, a process is an instance of a computer program that is being executed. It contains the program code and its current activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that… …   Wikipedia

  • Process states — In a multitasking computer system, processes may occupy a variety of states. These distinct states may not actually be recognized as such by the operating system kernel, however they are a useful abstraction for the understanding of… …   Wikipedia

  • Process identifier — In computing, the process identifier (normally referred to as the process ID or just PID) is a number used by some operating system kernels (such as that of UNIX, Mac OS X or Windows NT) to uniquely identify a process.In Unix like operating… …   Wikipedia

  • Child custody laws in the United States — Child custody and guardianship are legal terms which are sometimes used to describe the legal and practical relationship between a parent and his or her child, such as the right of the parent to make decisions for the child, and the parent s duty …   Wikipedia

  • Child sponsorship — allows an individual, typically in a developed country, to sponsor, or fund a child in a developing country until the child becomes self sufficient. This could mean financially supporting the education, health or security of the sponsored child,… …   Wikipedia

  • Child labour in Namibia — has occasionally been reported.[1] This involved cases of child prostitution as well as voluntary and forced agricultural labour, cattle herding and vending. Namibia ratified both the ILO Minimum Age Convention (C138) and the ILO Worst Forms of… …   Wikipedia

  • Child Family Health International — Child Family Health International, also known as CFHI, is a global health 501(c)3 nonprofit founded in 1992 and based in San Francisco, California.[1] The organization was founded by Dr. Evaleen Jones[2], who was named one of Silicon Valley s… …   Wikipedia

  • Child labor — is the employment of children at regular and sustained labour. This practice is considered exploitative by many countries and international organizations. Child labour was utilized to varying extents through most of history, but entered public… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”