several changes to usermanagement and profiles

This commit is contained in:
UbitUmarov
2020-08-27 18:31:28 +01:00
parent 8b63182170
commit 5ef66d68a0
8 changed files with 645 additions and 589 deletions

View File

@@ -436,5 +436,50 @@ namespace OpenSim.Framework
return success;
}
public ICollection<TValue1> Values
{
get
{
bool gotLock = false;
try
{
try { }
finally
{
m_rwLock.EnterUpgradeableReadLock();
gotLock = true;
}
return m_values.Values;
}
finally
{
if (gotLock)
m_rwLock.ExitUpgradeableReadLock();
}
}
}
public ICollection<TKey1> Keys
{
get
{
bool gotLock = false;
try
{
try { }
finally
{
m_rwLock.EnterUpgradeableReadLock();
gotLock = true;
}
return m_values.Keys;
}
finally
{
if (gotLock)
m_rwLock.ExitUpgradeableReadLock();
}
}
}
}
}