MCPcopy Create free account
hub / github.com/MariaDB/server / LF_BACKOFF

Function LF_BACKOFF

include/my_cpu.h:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136*/
137
138static inline int LF_BACKOFF(void)
139{
140 unsigned i= my_cpu_relax_multiplier;
141 while (i--)
142 MY_RELAX_CPU();
143 return 1;
144}
145
146/**
147 Run a delay loop while waiting for a shared resource to be released.

Callers 12

trylock_shortFunction · 0.85
mark_uninitializedMethod · 0.85
acquire_recoveredMethod · 0.85
l_findFunction · 0.85
deadlock_searchFunction · 0.85
alloc_freeFunction · 0.85
lf_alloc_newFunction · 0.85
read_lock_waitMethod · 0.85
write_lock_waitMethod · 0.85
corrupted_evictMethod · 0.85
commit_in_memoryMethod · 0.85
lockfindFunction · 0.85

Calls 1

MY_RELAX_CPUFunction · 0.85

Tested by

no test coverage detected