summaryrefslogtreecommitdiff
path: root/mysys/waiting_threads.c
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2017-12-07 15:03:59 +0200
committerMonty <monty@mariadb.org>2017-12-08 13:44:45 +0200
commitb3346c2f41d0f7bd0d919826592b37ae09fa41c8 (patch)
treef9bd618332962cf5bbd3207e536d76f3a011e3ad /mysys/waiting_threads.c
parent07e9ff1fe18999e1acd640ee3b2169c3f506fb35 (diff)
downloadmariadb-git-b3346c2f41d0f7bd0d919826592b37ae09fa41c8.tar.gz
Restore LF_BACKOFF
Moved InnoDB UT_RELAX_CPU() to server. Restored cross-platform LF_BACKOFF implementation basing on UT_RELAX_CPU().
Diffstat (limited to 'mysys/waiting_threads.c')
-rw-r--r--mysys/waiting_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/waiting_threads.c b/mysys/waiting_threads.c
index 2549bd8a587..6a4139844db 100644
--- a/mysys/waiting_threads.c
+++ b/mysys/waiting_threads.c
@@ -617,7 +617,7 @@ retry:
{
rc= *shared_ptr;
lf_pin(arg->thd->pins, 0, rc);
- } while (rc != *shared_ptr && LF_BACKOFF);
+ } while (rc != *shared_ptr && LF_BACKOFF());
if (rc == 0)
{