Class PathfindNativeThread
java.lang.Object
java.lang.Thread
zombie.pathfind.nativeCode.PathfindNativeThread
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
protected final ConcurrentLinkedQueue
<zombie.pathfind.nativeCode.IPathfindTask> static PathfindNativeThread
final Object
protected final ByteBuffer
final Object
protected final HashMap
<Mover, PathFindRequest> protected final ConcurrentLinkedQueue
<zombie.pathfind.nativeCode.PathRequestTask> protected final ConcurrentLinkedQueue
<PathFindRequest> protected final Path
protected final ConcurrentLinkedQueue
<zombie.pathfind.nativeCode.SquareUpdateTask> protected final ConcurrentLinkedQueue
<zombie.pathfind.nativeCode.IPathfindTask> protected final ConcurrentLinkedQueue
<zombie.pathfind.nativeCode.IPathfindTask> Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRequest
(PathFindRequest pathFindRequest, int int0) void
cleanup()
void
run()
void
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
instance
-
bStop
public boolean bStop -
notifier
-
renderLock
-
chunkTaskQueue
-
squareTaskQueue
-
vehicleTaskQueue
-
requestTaskQueue
-
taskReturnQueue
-
requestMap
-
requestToMain
-
shortestPath
-
pathBB
-
-
Method Details
-
run
-
addRequest
-
stopThread
public void stopThread() -
cleanup
public void cleanup()
-