1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
erastova [34]
3 years ago
13

Given the three thread states: running, runnable (i.e., ready), and blocked (i.e., waiting), state which of the six possible thr

ead transitions are allowed, and which ones are not. Also, for each case, provide an example of how the transition occurs, or a reason why it cannot (as a justification for each of your answers). Assume Mesa-style scheduling.

Computers and Technology
1 answer:
galben [10]3 years ago
8 0

Answer:

Ready-Running

Running-Ready

Running-Blocked

Blocked-Ready

Ready-Blocked

Blocked-Running

Explanation:

In monitor synchronisation, one of the scheduling approaches is the Mesa style scheduling.

The Mesa style scheduling in a Mesa monitor, the released thread due to a signal is also in the inactive state. Note that those inactive threads had the lock previously; but, they are unable to re-acquire it.

There are six ways it can carry out scheduling, they are as shown in the answer.

Please kindly check attachment for details and drawing.

You might be interested in
Here is the list of problems to choose from:
olya-2409 [2.1K]

Answer:

There's a parking lot that is 600m² big. The lot must be able to hold at least 3 buses and 10 cars.

Each car takes up 6m² and each bus takes up 30m².

However, there can only be 60 vehicles in the lot at any given time.

The cost to park in the lot is $2.50 per day for cars and $7.50 per day for buses. The lot must make at least $75 each day to break even.

What is a possible car to bus ratio that would allow the lot to make profit?

3 0
3 years ago
Which file types have .exe and .png as their extensions?
cricket20 [7]
EXE files are executable files.
PNG files are picture files like JPEG etc.
7 0
4 years ago
Ms. Lawson, a primary school teacher, told her students that a photograph of the president is in the public domain. What does sh
dezoksy [38]

Answer:

He belongs to the nation

7 0
3 years ago
Which type of basic building blocks (constructs) is the following algorithm?
Ksju [112]

Answer:

Sequence

Explanation:

6 0
3 years ago
What the heck is happening what is this?
Brilliant_brown [7]
Just decrease the font size and the size of the like will decrease.

Decrease font size by pressing on the part were it says 29 and typing in a smaller number like 14 for example
4 0
3 years ago
Other questions:
  • Although the battery on your smartphone is fully charged, it drains quickly. In some instances when the phone shows that the bat
    12·1 answer
  • What might a programming prefer the top-down approach to programming design?
    10·1 answer
  • I WILL MARK THE BRAINIEST!!!!!!!!!!!!! 50 POINTS!!!!!!!
    5·2 answers
  • How is this fictional tex in the people could fly different from the nonfictional text​
    12·2 answers
  • Assume that ip has been declared to be a pointer to int and that enrollment has been declared to be an array of 20 elements . As
    13·1 answer
  • The use of themes in WordPress is a good illustration of what major concept?
    6·1 answer
  • Suppose you are given a sequence that is described by a formula, starting at index n=0. If you need to change the starting index
    6·1 answer
  • In confirmatory visualization Group of answer choices Users expect to see a certain pattern in the data Users confirm the qualit
    9·1 answer
  • Do you remember your first 3D movie experience? What was the movie, what was the experience like, and why was it memorable? (If
    7·1 answer
  • What type of volcano is Dukono
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!