This preview shows page 1. Sign up to view the full content.
Unformatted text preview: function 3. Create a region guarded by a lock such that only one thread can execute the region at a time, and print the threadId as each thread executes that region. Turn in program listings and output for the above....
View Full Document
This note was uploaded on 02/19/2012 for the course ECE 563 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.
- Spring '08