diff options
author | Adam Frisby | 2008-08-30 19:35:22 +0000 |
---|---|---|
committer | Adam Frisby | 2008-08-30 19:35:22 +0000 |
commit | 2133fa56e7790ab63749d778c4d2db79a9b9e9bf (patch) | |
tree | a29fe533240dce8444a06450b81742cfd1bcff01 /OpenSim/Data/MySQL/MySQLSuperManager.cs | |
parent | * minor: Tiny doc addition to trigger another build that hopefully won't fail (diff) | |
download | opensim-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.cs | 9 |
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 @@ | |||
1 | using System; | 1 | using System.Threading; |
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using System.Threading; | ||
5 | 2 | ||
6 | namespace OpenSim.Data.MySQL | 3 | namespace 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() |