Readers - Writers

Readers - Writers

Through synchronize , Java provides exclusive locking. However, in many programs it will be correct for a number of threads which do not modify a shared resource to access that resource concurrently (Readers). Threads which update the state of the resource (Writers) will still require exclusive access.

Previous slide Next slide Back to the first slide View Graphic Version