19202122232425
{ private NullSync nullLock_; public LockStrategyNone() { nullLock_ = new NullSync(); }
23242526272829
private NullSync rLock_; // Null lock will always return true public LockStrategyReadUncommitted() { wLock_ = new FIFOSemaphore(1); rLock_ = new NullSync(); }