summaryrefslogtreecommitdiff
path: root/storage/innobase/include/ut0mutex.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-01-08 01:30:13 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-01-09 20:54:04 +0400
commit65083ba64c4d77b5821816bda1bbed77f6c7961a (patch)
tree96313927bc08264e6323910d093d1eed205cc4bb /storage/innobase/include/ut0mutex.h
parente2b585c1c5258065b89cd002fd259685f0fe6f09 (diff)
downloadmariadb-git-65083ba64c4d77b5821816bda1bbed77f6c7961a.tar.gz
MDEV-17441 - InnoDB transition to C++11 atomics
Simplified mutex code. MutexDebug uses OSMutex instead of atomic operations now.
Diffstat (limited to 'storage/innobase/include/ut0mutex.h')
-rw-r--r--storage/innobase/include/ut0mutex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/innobase/include/ut0mutex.h b/storage/innobase/include/ut0mutex.h
index 3dbd7919a2f..3155151c73a 100644
--- a/storage/innobase/include/ut0mutex.h
+++ b/storage/innobase/include/ut0mutex.h
@@ -38,8 +38,6 @@ Created 2012-03-24 Sunny Bains.
@param[in] T The resulting typedef alias */
#define UT_MUTEX_TYPE(M, P, T) typedef PolicyMutex<M<P> > T;
-typedef OSMutex EventMutex;
-
# ifdef HAVE_IB_LINUX_FUTEX
UT_MUTEX_TYPE(TTASFutexMutex, GenericPolicy, FutexMutex);
UT_MUTEX_TYPE(TTASFutexMutex, BlockMutexPolicy, BlockFutexMutex);