Readers And Writers

This pattern involves accessors (Readers) and state-changing operations (Writers).

In this implementation Readers are blocked if there are waiting Writers. Waiting Writers are chosen arbitrarily and there are no downgrade mechanisms.

See also

ReentrantReadWriteLock

page_revision: 1, last_edited: 1181055929|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.