aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLSuperManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-08-30 19:35:22 +0000
committerAdam Frisby2008-08-30 19:35:22 +0000
commit2133fa56e7790ab63749d778c4d2db79a9b9e9bf (patch)
treea29fe533240dce8444a06450b81742cfd1bcff01 /OpenSim/Data/MySQL/MySQLSuperManager.cs
parent* minor: Tiny doc addition to trigger another build that hopefully won't fail (diff)
downloadopensim-SC_OLD-2133fa56e7790ab63749d778c4d2db79a9b9e9bf.zip
opensim-SC_OLD-2133fa56e7790ab63749d778c4d2db79a9b9e9bf.tar.gz
opensim-SC_OLD-2133fa56e7790ab63749d778c4d2db79a9b9e9bf.tar.bz2
opensim-SC_OLD-2133fa56e7790ab63749d778c4d2db79a9b9e9bf.tar.xz
* Added new MySQLSuperManager support for the grid servers.
* In theory, login and a large number of grid functions should now at least be multithreaded.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLSuperManager.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSuperManager.cs b/OpenSim/Data/MySQL/MySQLSuperManager.cs
index effdac7..4a9c7fa 100644
--- a/OpenSim/Data/MySQL/MySQLSuperManager.cs
+++ b/OpenSim/Data/MySQL/MySQLSuperManager.cs
@@ -1,14 +1,11 @@
1using System; 1using System.Threading;
2using System.Collections.Generic;
3using System.Text;
4using System.Threading;
5 2
6namespace OpenSim.Data.MySQL 3namespace OpenSim.Data.MySQL
7{ 4{
8 class MySQLSuperManager 5 public class MySQLSuperManager
9 { 6 {
10 public bool Locked; 7 public bool Locked;
11 private Mutex m_lock = new Mutex(false); 8 private readonly Mutex m_lock = new Mutex(false);
12 public MySQLManager Manager; 9 public MySQLManager Manager;
13 10
14 public void GetLock() 11 public void GetLock()