Temporarily disable locking in getdown

This commit is contained in:
Mark Johnson
2008-01-26 02:35:54 +00:00
parent 03aa103cff
commit 305446e7f3
@@ -1032,6 +1032,7 @@ public class Application
*/ */
public synchronized boolean lockForUpdates () public synchronized boolean lockForUpdates ()
{ {
/* TEMP disable locking
if (_lock != null && _lock.isValid()) { if (_lock != null && _lock.isValid()) {
return true; return true;
} }
@@ -1049,6 +1050,8 @@ public class Application
Log.logStackTrace(e); Log.logStackTrace(e);
} }
return _lock != null; return _lock != null;
*/
return true;
} }
/** /**
@@ -1056,6 +1059,7 @@ public class Application
*/ */
public synchronized void releaseLock () public synchronized void releaseLock ()
{ {
/* TEMP disable locking
if (_lock != null) { if (_lock != null) {
try { try {
_lock.release(); _lock.release();
@@ -1072,6 +1076,7 @@ public class Application
_lockChannel = null; _lockChannel = null;
_lock = null; _lock = null;
} }
*/
} }
/** /**