Package net.minecraft.util
Class ThreadingDetector
java.lang.Object
net.minecraft.util.ThreadingDetector
-
Field Summary
Modifier and TypeFieldDescriptionprivate ReportedException
private final Semaphore
private static final org.slf4j.Logger
private final String
private final Lock
private Thread
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static ReportedException
makeThreadingException
(String p_199418_, Thread p_199419_) private static String
stackTrace
(Thread p_199421_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
name
-
lock
-
stackTraceLock
-
threadThatFailedToAcquire
-
fullException
-
-
Constructor Details
-
ThreadingDetector
-
-
Method Details
-
checkAndLock
public void checkAndLock() -
checkAndUnlock
public void checkAndUnlock() -
makeThreadingException
public static ReportedException makeThreadingException(String p_199418_, @Nullable Thread p_199419_) -
stackTrace
-