1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Restore LF_BACKOFF

Moved InnoDB UT_RELAX_CPU() to server. Restored cross-platform LF_BACKOFF
implementation basing on UT_RELAX_CPU().
This commit is contained in:
Sergey Vojtovich
2017-12-07 15:03:59 +02:00
committed by Monty
parent 07e9ff1fe1
commit b3346c2f41
10 changed files with 67 additions and 76 deletions

View File

@@ -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)
{