Process (ii)--Process Control block

Source: Internet
Author: User

Process (ii)--Process Control block

    • Process Control block (PCB, process controls block)
  • Definition: The collection of information used by the operating system to manage and control the process
    • The operating system uses PCBs to describe the Basic situation of the process and The process of running the change
    • PCB is the only sign of process existence
      • Each process has a corresponding PCB in the operating system

    • Use of Process Control blocks
  • Process creation
    • Build the PCB of the process

  • Process termination
    • Recycle It's PCB

  • Organization and management of processes
    • Through the organization of PCB management to achieve

    • Process Control block Contents
  • Process Flag Information
  • On-site storage of processing machines
  • Process Control Information
  • Process Control Information
    • Scheduling and status information
      • Scheduling Process and the use of processors

    • Inter-process communication information
      • Various identities related to interprocess communication

    • Storage Management Information
      • Point to process image storage spatial data structure

    • Resources used by the process
      • system resources used by the process , such as opening files, etc.

    • About Data Structure connection information
      • PCB-related process queues

  • Organization of Process Control blocks
    • Linked list

Same State the process of its PCB into a linked list, multiple states corresponding to a number of different linked lists

  • processes in each State form different linked lists: ready linked list, blocking list

    • Index Table

Same State process into an index table (from the index to the PCB), multiple states correspond to several different index tables

  • processes in each State form a different index table: Ready Index Table, blocking index table

Process (ii)--Process Control block

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.