Added nestable locks for ReaderWriterLockSlim, these are read, upgradable, and write locks that check the status of the locks before acquiring the lock.