This preview shows page 1. Sign up to view the full content.
Unformatted text preview: finds favoredThread = 1, and enters its critical section. Before leaving the critical section, there is a context switching. T2 will then continue, and assign 2 to favoredThread and will also enter its critical section....
View Full Document
This note was uploaded on 12/01/2010 for the course CS 2342 taught by Professor Dr during the Spring '10 term at HKU.
- Spring '10