I. Introduction to fork
A process, including code, data, and resources allocated to the process. The fork () function creates a process that is almost identical to the original process through system calls, that is, the two processes can do
Transfer from:: http://blog.csdn.net/jason314/article/details/5640969First, Fork Introduction knowledgeA process, including code, data, and resources assigned to the process. The fork () function creates a process that is almost identical to the
First, Fork Introduction knowledgeA process, including code, data, and resources assigned to the process. The fork () function creates a process that is almost identical to the original process through a system call.That is, two processes can do
Orphan process: One parent process exits, and one or more of its child processes are still running, then those child processes will become orphans. The orphan process will be adopted by the INIT process (process number 1) and the Init process
Summary of linux multi-process (fork usage)-Linux general technology-Linux programming and kernel information. The following is a detailed description. Original: lobbve223
Simply put, a process represents a State in one execution process of an
Speaking of fork, you have to mention cow (copy on write), which is "copy on write". That is, when the fork occurs, the child process simply does not copy the parent process's memory page, but shares it with the parent process. When a child process
Execute this code in Linux: () {:|:&};:will cause a crash. Once executed, the only method is to restart the system. In fact, this code is an infinite recursive code that consumes system resources.
This article provides a detailed explanation of this
Analysis of implementation mechanism of JOS fork functionIt's a little chick freeze. It was a very confusing moment before the place. Now, the chatter about the fork.This article will focus on two implementation strategies for fork:1. Do not use the
The cattle ploughed back, lay in the column, exhausted and gasping for breath, and the dog ran over to see it."Alas, old friend, I am so tired." "The Ox sued the bitter," Tomorrow I really want to rest a day. ”After the dog said goodbye, he met a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.