SpinLock exponential backoff; OS X -> Linux compatibility