Package edu.rit.pj
Class Lock
java.lang.Object
edu.rit.pj.Lock
Class Lock provides an object used for synchronizing parallel team threads in
a critical region. You don't call methods on a Lock object directly, rather
you pass a Lock object to the
critical()
or
criticalNonexclusive()
methods of class ParallelRegion.- Version:
- 05-Jun-2007
- Author:
- Alan Kaminsky
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Lock
public Lock()Construct a new lock.
-