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.
-
Smith and Baker Legal Services employs five full-time attorneys and nine paraprofessionals. Budgeted salaries are $90,000 for each attorney and $45,000 for each paraprofessional. Budgeted indirect...
-
What situations did Wayne Bremser suggest are active areas for forensic accountants?
-
The trial balance of Gaolee Fashion Center contained the following accounts at November 30, the end of the company's fiscal year. Adjustment data: 1. Supplies on hand totaled $2,600. 2. Depreciation...
-
You purchased 200 shares of ABC stock on July 15. On July 20 you purchased another 100 shares, and then on July 22st you purchased your final 200 shares of ABC stock. The company declared a dividend...
-
You have the following data on an oil reservoir Oil Aquifer Semicircular Geometry Encroachment angle Radius, ft Flow regime Porosity Thickness, ft Permeability, md Viscosity, cp Original pressure...
-
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.
-
Tiessen Limited provided the following information for the year ended December 31: Required: 1. Prepare a schedule of cost of goods manufactured. 2. Prepare the cost of goods sold section of Tiessen...
-
Identify the sentence below in which the subject and verb agree. Selected answer will be automatically saved. For keyboard navigation, press up/down arrow keys to select an answer. a Neither Gina nor...
-
Compare all types of business presentations. What is the MOST popular type of business presentation used? Joseph is pitching a new product to an investor in the hope that the investor will give...
-
Peter puck company, beginning work in process , 0 units, unit transffered out 87,000. units in ending work in process 23000,which are 40% complete of conversion cost , material are added only at the...
-
Two blocks a and b connected to each other by a string. a constant upward force F = 6 0 N , is applied to block A as shown below. Starting from rest, block B descends by 7 . 8 m in 4 . 2 s . The...
-
Your clients,Bruce and Sheila,run a small business as a partnership together and they would like your advice on contributing to superannuation. Bruce earns $65,000and Sheila earns$35,000. What is the...
-
Not shown in Figure 22-17 are electrode potential data involving hydrazoic acid. Given that E = -3.09 V for the reduction of HN 3 to N 2 in acidic solution, what is E for the reduction of HN 3 to NH...
-
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?
-
1. (10) Utilize the data in the provided excel file. Assignment 3 Chapter 5.xlsx. Create a Frequency chart. Create a Histogram
-
VALUES OF COEFFICIENT CO 4.0 3.8 3.2 3.0 40 0.5 1.0 1.5 VALUES OF 0=COL H 2.0 3 3.0
-
A client should know that the indexed annuity differs from the fixed annuity in that the indexed annuity: OA. does not link to any indexes outside the fixed account B. may receive credited interest...
Study smarter with the SolutionInn App