summaryrefslogtreecommitdiff
path: root/storage/innobase/include/sync0arr.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-09-14 15:12:54 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-10-17 18:35:49 +0400
commit2b47f8ff03845f7ffe2fa3bd583dd4123dae2b61 (patch)
treef01e6d2c0b4f094af493d9bbc35e509de763fede /storage/innobase/include/sync0arr.h
parent5608a737ea7b5630452957b82deff4c76406041e (diff)
downloadmariadb-git-2b47f8ff03845f7ffe2fa3bd583dd4123dae2b61.tar.gz
MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes
Clean-up periodic mutex/rwlock waiters wake up. This was a hack needed to workaround broken mutexes/rwlocks implementation. We must have sane implementations now and don't need these anymore: release thread is guaranteed to wake up waiters. Removed redundant ifdef that has equivalent code in both branches. Removed os0atomic.h and os0atomic.ic: not used anymore. Clean-up unused cmake checks.
Diffstat (limited to 'storage/innobase/include/sync0arr.h')
-rw-r--r--storage/innobase/include/sync0arr.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/innobase/include/sync0arr.h b/storage/innobase/include/sync0arr.h
index 1a3cc93f0e9..bc419a9be8f 100644
--- a/storage/innobase/include/sync0arr.h
+++ b/storage/innobase/include/sync0arr.h
@@ -86,13 +86,6 @@ void
sync_array_object_signalled();
/**********************************************************************//**
-If the wakeup algorithm does not work perfectly at semaphore relases,
-this function will do the waking (see the comment in mutex_exit). This
-function should be called about every 1 second in the server. */
-void
-sync_arr_wake_threads_if_sema_free();
-
-/**********************************************************************//**
Prints warnings of long semaphore waits to stderr.
@return TRUE if fatal semaphore wait threshold was exceeded */
ibool