标签:
Process: an abstraction of running program.
A CPU can really only run one process at a time, if there are two cores each one of them can run only one process at a time.
Process Creation
Operating systems need some way to create processes. There are four events that cause processes to be created:
Daemons: processes that stay in the background to handle some activity such as e-mail, Web pages, news, printing, and so on.
Note: in UNIX, the ps program can be used to list the running processes. In windows, task manager.
Note: in UNIX, only one system call to create a new process: fork. In windows, CreateProcess
Process Termination, usually due to one of the following conditions:
Note: exit() in UNIX and ExitProcess() in Windows
Process States
标签:
原文地址:http://www.cnblogs.com/elewei/p/4740512.html