what-the-bank/sources/com/google/common/util/concurrent/OverflowAvoidingLockSupport...

17 lines
497 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.util.concurrent;
import java.util.concurrent.locks.LockSupport;
/* loaded from: classes2.dex */
final class OverflowAvoidingLockSupport {
static final long MAX_NANOSECONDS_THRESHOLD = 2147483647999999999L;
private OverflowAvoidingLockSupport() {
}
/* JADX INFO: Access modifiers changed from: package-private */
public static void parkNanos(Object obj, long j) {
LockSupport.parkNanos(obj, Math.min(j, MAX_NANOSECONDS_THRESHOLD));
}
}