Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ReadWriteLock.d File Reference

A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing. The read lock may be held simultaneously by multiple reader threads, so long as there are no writers. The write lock is exclusive. More...

Go to the source code of this file.

Variables

module mango locks ReadWriteLock
import mango locks Lock


Detailed Description

A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing. The read lock may be held simultaneously by multiple reader threads, so long as there are no writers. The write lock is exclusive.

Written by Doug Lea with assistance from members of JCP JSR-166 Expert Group and released to the public domain, as explained at http://creativecommons.org/licenses/publicdomain Ported to D by Ben Hinkle. Email comments and bug reports to ben.hinkle@gmail.com

revision 2.01

Definition in file ReadWriteLock.d.


Variable Documentation

module mango locks ReadWriteLock
 

Definition at line 16 of file ReadWriteLock.d.

import mango locks Lock
 

Definition at line 18 of file ReadWriteLock.d.


Generated on Mon Nov 14 10:59:45 2005 for Mango by  doxygen 1.4.0