The Linux kernel keeps complete information about a process in a process descriptor defined as struct task_struct.
Linux内核将关于进程的完整信息保存在进程描述符中,它的结构被定义为struct task_struct。
When a process creates multiple children, these children have sibling relationships. Several fields must be introduced in a process descriptor to represent these relationships;
当一个进程创建了多个孩子,这些孩子有兄弟关系。
应用推荐