Table lists typical elements found in a process control block for an unthreaded OS. Of these, which
Question:
Table lists typical elements found in a process control block for an unthreaded OS. Of these, which should belong to a thread control block and which should belong to a process control block for a multithreaded system?
Transcribed Image Text:
Process Identification Identifiers Numeric identifiers that may be stored with the process control block include . Identifier of this process. Identifier of the process that created this process (parent process) . User identifier Processor State Information User-Visible Registers A user-visible register is one that may be referenced by means of the machine language that the processor executes while in user mode. Typically, there are from 8 to 32 of these registers, although some RISC implementations have over 100 Control and Status Registers These are a variety of processor registers that are employed to control the operation of the processor. These nclude . Program counter: Contains the address of the next instruction to be fetched. e Condition codes: Result of the most recent arithmetic or logical operation (e.g., sign, zero, carry, equal, overflow) e Status information: Includes interrupt enabled/disabled flags, execution mode Stack Pointers Each process has one or more last-in-first-out (LIFO) system stacks associated with it. A stack is used to store parameters and calling addresses for procedure and system calls. The stack pointer points to the top of the stack Process Control Information Scheduling and State Information This is information that is needed by the operating system to perform its scheduling function. Typical items of information: Process state: Defines the readiness of the process to be scheduled for execution (e.g., running, ready waiting, halted) . Priority: One or more fields may be used to describe the scheduling priority of the process. In some systems, several values are required (e.g., default, current, highest-allowable) e Scheduling-related information: This will depend on the scheduling algorithm used. Examples are the amount of time that the process has been waiting and the amount of time that the process executed the last time it was running . Event: Identity of event the process is awaiting before it can be resumed Data Structuring A process may be linked to other process in a queue, ring, or some other structure. For example, all processes in a waiting state for a particular priority level may be linked in a queue. A process may exhibit a parent-child (creator-created) relationship with another process. The process control block may contain pointers to other processes to support these structures Interprocess Communication Various flags, signals, and messages may be associated with communication between two independent processes. Some or all of this information may be maintained in the process control block. Process Privileges Processes are granted privileges in terms of the memory that may be accessed and the types of instructions that may be executed. In addition, privileges may apply to the use of system utilities and services Memory Management This section may include pointers to segment and/or page tables that describe the virtual memory assigned to this process Resource Ownership and Utilization Resources controlled by the process may be indicated, such as opened files. A history of utilization of the processor or other resources may also be included; this information may be needed by the scheduler
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 70% (10 reviews)
This will differ from system to system but in general resources are owne...View the full answer
Answered By
Muhammad Umair
I have done job as Embedded System Engineer for just four months but after it i have decided to open my own lab and to work on projects that i can launch my own product in market. I work on different softwares like Proteus, Mikroc to program Embedded Systems. My basic work is on Embedded Systems. I have skills in Autocad, Proteus, C++, C programming and i love to share these skills to other to enhance my knowledge too.
3.50+
1+ Reviews
10+ Question Solved
Related Book For
Operating Systems Internals and Design Principles
ISBN: 978-0133805918
8th edition
Authors: William Stallings
Question Posted:
Students also viewed these Computer Sciences questions
-
What are the major items found in a process control block?
-
How does feedforward differ from feedback in a process control system?
-
Table 3.5 lists typical elements found in a process control block for an unthreaded OS. Of these, which should belong to a thread control block and which should belong to a process control block for...
-
Give the three ways to eliminate the balance in the overhead account at the end of the year.
-
Discuss the advantages of XML.
-
https://www.dw.com/en/higher-tampon-prices-on-horizon-despite-german-tax-break/a52049226 a)...
-
How does LEGO generate royalties by using contractual entry strategies? LO.1
-
Develop a subprogram for the bisection method that minimizes function evaluations based on the pseudocode from Figure Determine the number of function evaluations (n) per total iterations. Test the...
-
As of: 11/30/2021 19:37:01 Command: AGE ON Due Date CUTOFF 20041231 INTERVAL 0,30,60,90, 120, 10000 TO SCREEN Table: ARJoin Minimum encountered was -9 Maximum encountered was 365 Days Count Percent...
-
A group of investors is intent on purchasing a publicly traded company and wants to estimate the highest price they can reasonably justify paying. The target companys equity beta is 1.20 and its...
-
In a number of early computers, an interrupt caused the register values to be stored in fixed locations associated with the given interrupt signal. Under what circumstances is this practical...
-
List three advantages of ULTs over KLTs.
-
The mercury manometer shown in FIGURE P18.56 is attached to a gas cell. The mercury height h is 120 mm when the cell is placed in an ice-water mixture. The mercury height drops to 30 mm when the...
-
1. A corn farmer has observed the following distribution for the number of ears of corn per cornstalk. Ears of Corn Probability 1 2 3 4 .3 .4 .2 .1 Part A: How many ears of corn does he expect on...
-
1. A mass m on a vertical spring with force constant k has an amplitude of A. Using the top of the motion as the origin for both gravitational potential energy and spring potential energy: (a) Find...
-
2. Consider the PDE Utt - Uxx + Ut - Ux = 0 (1) for < < and 0
-
On April 1, 2024, Chardonnay pays an insurance company $12,480 for a two- year fire insurance policy. The entire $12,480 is debited to Prepaid Insurance at the time of the purchase. Record the...
-
Which retailer(s) should represent and sell your product?Why?In terms of their range of distribution coverage, is your retailer intensive, selective and exclusive? Why is this aspect important to...
-
When more than one auditor is involved in an audit of a company's financial statements, what two decisions about reporting must the principal auditor make?
-
Revol Industries manufactures plastic bottles for the food industry. On average, Revol pays $76 per ton for its plastics. Revol's waste-disposal company has increased its waste-disposal charge to $57...
-
Explain the different types of static and dynamic stability.
-
What is middleware? Discuss.
-
The Java programming language is referred to by some as the language of the Web, due to its platform independent nature. Java uses a hybrid form of RPC and CORBA called RMI (Remote Method...
-
A relatively new term that has been introduced to the Web environment is Web service. What is a Web service and how does it differ from the concept of a Web application?
-
Chapter o Homew ebook 50,000-unit production quantity: $ 227,049 7 70,000-unit production quantity: $ 66,751 d. In addition to mean profit, what other factors should FTC consider in determining a...
-
Diamond makes downhill ski equipment. Assume that comic has offered to produce ski poles for Diamond for $20 per pair Diamond needs 200,000 pairs of poles per period Diamond can only avoid 5150,000...
-
17? Which of the following statement is true Select one: a. All evidence must have the same level of reliability b. All evidence must have the same level of persuasiveness C. All are false d....
Study smarter with the SolutionInn App