Runs one step of load balancing across the stripes.
Declared in <folly/synchronization/StripedThrottledLifoSem.h>
size_t
balanceStep();
Run a step of load balancing: if some stripes have pending posts and others have waiters, transfer some posts from the former to the latter. This does not try to achieve perfect balance, it just makes progress towards that, and it returns the number of successful transfers. The method can be called repeatedly until no transfers happen anymore.
Note that this doesn't change the value of any stripe: it only affects which waiters are awoken. The waiters will still receive the index of the stripe where the post originally happened.
The number of posts transferred during this step.