First, fork introductory knowledgea process that includes code, data, and resources assigned to the process. The fork () function creates a process that is almost exactly the same as the original process through system calls, where two processes can
Fork introduction:Fork stands for the meaning of "branching and branching". In the operating system, fork is a famous Unix (or Unix-like, such as Linux or minix) to create a sub-process.
[Note1]What is the role of Fork? In other words, what is the
http://blog.csdn.net/jason314/article/details/5640969The fork () call will copy a new process that is almost identical to the current process (except for the fork's return value), each of which has its own space, each with its own local variables,
Fork introduction:Fork stands for the meaning of "branching and branching". In the operating system, fork is a famous Unix (or Unix-like, such as Linux or minix) to create a sub-process.
[Note1]What is the role of Fork? In other words, what is the
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
Transferred 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
I. Usage Analysis:Fork () This function, it can be said that the name of the person, it is well known that fork the word is meant to fork, the foreigner to take the academic name when there will always be some pictographic ideas, so there is ~The
Fork () function function--Create a new process1. The parent-child process has separate data segments, heaps, stacks, shared code segmentsEach process in Linux has a 4G virtual address space (separate 3G user space and shared 1G kernel space), and
Lien0000342014-10-07
In the process control trilogy, we learned that fork is the first part of the trilogy to create a new process. However, we haven't covered much more in-depth information about fork, such as the relationship between new processes
Understanding of fork () functions, and understanding of fork FunctionsAuthor:Wang Shanshan, a lecturer at Huaqing vision embedded College.
For those who are new to Unix/Linux operating systems and Write multi-process programs in Linux, fork is one
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.