Child Process

Định nghĩa Child Process là gì?

Child ProcessQuy trình con. Đây là nghĩa tiếng Việt của thuật ngữ Child Process - một thuật ngữ thuộc nhóm Technology Terms - Công nghệ thông tin.

Độ phổ biến(Factor rating): 5/10

Một quá trình đứa trẻ là việc tạo ra một quá trình cha mẹ, có thể được định nghĩa là quá trình chính mà tạo ra con hoặc subprocesses để thực hiện các hoạt động nhất định. Mỗi quá trình có thể có nhiều tiến trình con nhưng chỉ có một mẹ. Một quá trình đứa trẻ được thừa hưởng hầu hết các thuộc tính mẹ của.

Xem thêm: Thuật ngữ công nghệ A-Z

Giải thích ý nghĩa

Một quá trình cha mẹ có thể tạo nhiều tiến trình con. Nếu một quá trình không có cha mẹ, nó được giả định được tạo trực tiếp bởi hạt nhân. Trong các hệ thống như Unix và Linux, quá trình đầu tiên, "init", được tạo ra bởi các hạt nhân vào lúc khởi động và không bao giờ chấm dứt chừng nào hệ thống đang chạy. quá trình côi khác có thể được đưa ra để thực hiện nhiệm vụ daemon khác nhau. Trong một số trường hợp, một quá trình đứa trẻ đang mồ côi khi mẹ chết. Quá trình trẻ mồ côi sau đó được một thời gian ngắn thông qua quá trình init. Tuy nhiên trong Unix, một quá trình con tạo ra bằng cách sử dụng cuộc gọi hệ thống fork nói chung là một bản sao của quá trình cha mẹ ban đầu. Sau khi forking một quá trình con, cả mẹ và đứa trẻ tiếp tục chạy theo cách riêng của họ. Trong Windows, khi một tiến trình mới được tạo ra bởi một trong những gia đình CreateProcess chức năng, một quá trình xử lý mới được trả về. sau đó xử lý này được tạo ra với quyền truy cập đầy đủ và có thể kiểm tra bảo mật truy cập. Quá trình xử lý có thể được thừa kế bởi một quá trình con dựa trên lá cờ thừa kế theo quy định trong quá trình tạo. Khi một quá trình con được tạo ra, nó gắn liền với một số quá trình ID duy nhất. Thời gian tồn tại của một quá trình kết thúc khi một tín hiệu chấm dứt được báo cáo là quá trình cha mẹ, dẫn đến sự ra đời của quá trình ID và nguồn lực.

What is the Child Process? - Definition

A child process is the creation of a parent process, which can be defined as the main process that creates child or subprocesses to perform certain operations. Each process can have many child processes but only one parent. A child process inherits most of its parent's attributes.

Understanding the Child Process

A parent process can create multiple child processes. If a process does not have a parent, it is assumed to be created directly by the kernel. In systems such as Unix and Linux, the first process, "init", is created by the kernel at boot time and never terminated as long as the system is running. Other parentless processes may be launched to perform different daemon tasks. In some situations, a child process is orphaned when its parent dies. The orphaned child process is then shortly adopted by the init process. However in Unix, a child process created using the fork system call is generally a clone of the original parent process. After forking a child process, both the parent and the child continue to run their own way. In Windows, when a new process is created by one of the CreateProcess family of functions, a new process handle is returned. This handle is then created with full access rights and is subject to security access checking. The process handle can be inherited by a child process based on the inheritance flag specified during creation. When a child process is created, it is associated with a unique process ID number. The lifetime of a process ends when a termination signal is reported to the parent process, resulting in the release of the process ID and resources.

Thuật ngữ liên quan

  • Inheritance
  • Command (.CMD)
  • Windows Server
  • Kernel
  • Disk and Execution Monitor (Daemon)
  • Attribute
  • Autonomic Computing
  • Windows Server
  • Application Server
  • Full Virtualization

Source: ? Technology Dictionary - Filegi - Techtopedia - Techterm

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *