Readers and Writers

This version gives priority to Writers by making Readers defer to waiting Reader threads. Consequently, Writers do not starve, however, giving Writers priority means that Readers may starve.

Unable to load applet

ReadWritePriority.java