aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorJeff Ames2008-09-03 14:05:49 +0000
committerJeff Ames2008-09-03 14:05:49 +0000
commit9053e8510c5e829c4e641cc51bab9387894b5e3b (patch)
treefe202124b6ddba326a20532de0181e3675891972 /OpenSim/Data/MySQL
parentMantis #2097 (diff)
downloadopensim-SC_OLD-9053e8510c5e829c4e641cc51bab9387894b5e3b.zip
opensim-SC_OLD-9053e8510c5e829c4e641cc51bab9387894b5e3b.tar.gz
opensim-SC_OLD-9053e8510c5e829c4e641cc51bab9387894b5e3b.tar.bz2
opensim-SC_OLD-9053e8510c5e829c4e641cc51bab9387894b5e3b.tar.xz
Update svn properties.
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLSuperManager.cs48
1 files changed, 24 insertions, 24 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSuperManager.cs b/OpenSim/Data/MySQL/MySQLSuperManager.cs
index 4a9c7fa..b2485b1 100644
--- a/OpenSim/Data/MySQL/MySQLSuperManager.cs
+++ b/OpenSim/Data/MySQL/MySQLSuperManager.cs
@@ -1,24 +1,24 @@
1using System.Threading; 1using System.Threading;
2 2
3namespace OpenSim.Data.MySQL 3namespace OpenSim.Data.MySQL
4{ 4{
5 public class MySQLSuperManager 5 public class MySQLSuperManager
6 { 6 {
7 public bool Locked; 7 public bool Locked;
8 private readonly Mutex m_lock = new Mutex(false); 8 private readonly Mutex m_lock = new Mutex(false);
9 public MySQLManager Manager; 9 public MySQLManager Manager;
10 10
11 public void GetLock() 11 public void GetLock()
12 { 12 {
13 Locked = true; 13 Locked = true;
14 m_lock.WaitOne(); 14 m_lock.WaitOne();
15 } 15 }
16 16
17 public void Release() 17 public void Release()
18 { 18 {
19 m_lock.ReleaseMutex(); 19 m_lock.ReleaseMutex();
20 Locked = false; 20 Locked = false;
21 } 21 }
22 22
23 } 23 }
24} 24}