Which mechanism is used when a thread is paused running in its critical section and another thread is allowed to enter (or lock) in the same critical section to be executed?
Answers
Answered by
2
Answer:
Cooperation (Inter-thread communication) is a mechanism in which a thread is paused running in its critical section and another thread is allowed to enter (or lock) in the same critical section to be executed.It is implemented by following methods of Object class: wait() notify()
Similar questions
English,
7 months ago
English,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago