1 // Locking.h 2 3 #ifndef LOCKING_H 4 #define LOCKING_H 5 6 #include "AutoLocker.h" 7 8 class Volume; 9 10 // instantiations 11 typedef AutoLocker<Volume, AutoLockerReadLocking<Volume> > VolumeReadLocker; 12 typedef AutoLocker<Volume, AutoLockerWriteLocking<Volume> > VolumeWriteLocker; 13 14 #endif // LOCKING_H 15