Statics§
Functions§
- retry
- Rerun
funtil it returns Ok, only sleeps after 100 attempts, panics after 200 attempts. Mostly useful for atomiccompare_exchange. I.e. do not use iffexpects a value from another thread; just do retries that should succeed except for bad luck when another thread is making a change at the same time. - retry_n
- Rerun
funtil it returns Ok ormax_trieshas run out. Sleeps a constant time between tries.