summaryrefslogtreecommitdiffstats
path: root/base/lock.h
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 12:22:42 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 12:22:42 +0000
commitdb45a2f85588f7b1c1d62fe103c80a4eebca4e15 (patch)
tree8eab6845d0fec72b3178813699e72039d1382e87 /base/lock.h
parent45d69a2e92ebc98008c06ea1b6256835c236ea39 (diff)
downloadchromium_src-db45a2f85588f7b1c1d62fe103c80a4eebca4e15.zip
chromium_src-db45a2f85588f7b1c1d62fe103c80a4eebca4e15.tar.gz
chromium_src-db45a2f85588f7b1c1d62fe103c80a4eebca4e15.tar.bz2
Remove the LOCKED_EXPRESSION macro, it's clumbsy and unused.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/lock.h')
-rw-r--r--base/lock.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/lock.h b/base/lock.h
index 9613da0..59b0aea 100644
--- a/base/lock.h
+++ b/base/lock.h
@@ -88,14 +88,6 @@ class AutoLock {
DISALLOW_EVIL_CONSTRUCTORS(AutoLock);
};
-// A helper macro to perform a single operation (expressed by expr)
-// in a lock
-#define LOCKED_EXPRESSION(lock, expr) \
- do { \
- AutoLock _auto_lock(lock); \
- (expr); \
- } while (0)
-
// AutoUnlock is a helper class for ConditionVariable instances
// that is analogous to AutoLock. It provides for nested Releases
// of a lock for the Wait functionality of a ConditionVariable class.