| Lab | Assigned | Design Due (In class) 10 AM |
Implement (In Lab) Wednesday |
Demo (In Lab) Wednesday |
Lab Due (In lab) Wednesday |
|||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Apr | 2 | Apr | 9 | Apr | 9 | Apr | |||
While in future weeks you may work with a partner, for this section you are to submit your own work. You are free to discuss implementation strategies with colleagues, but the work you turn in is to be your own.
wait and notifyAll
to ensure a precondition holds for a given operation.
Startup.java
I'll post this after the weekend, and it will test your code...for now
test on your own!
Scribbler.java
PCSable.java
Factory.java
RectViz.java
You have to augment this class to do some new things as
described in the class's JavaDoc. You also have
to make it thread-safe without getting a lock.
Complete the classes as described in the JavaDoc.
The Queue class is not documented, but there is a test included
in that file (just run the file), so you can see how it works. A thread
that tries to dequeue an object blocks until some object
shows up in the queue.