Which events can change the state of a thread t from Locking object o to Enabled(that is, ready to run)? Question 18 optio

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 5RQ
icon
Related questions
Question

Which events can change the state of a thread t from Locking object o to Enabled(that is, ready to run)?

Question 18 options:

a)

if no other thread holds the lock on o and the system grants t the lock on o


b)

if t was Waiting on object o and another thread th executes o.notifyAll()


c)

if another thread th holds the lock on o and executes the static yield method


d)

if another thread th executes t.interrupt()


e)

if another thread th executes t.start()

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Terminal Threads
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning