Package com.github.stephengold.joltjni
Class JobSystem
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.JobSystem
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<ConstJoltPhysicsObject>
- Direct Known Subclasses:
JobSystemSingleThreaded,JobSystemWithBarrier
A system for scheduling units of work for execution.
-
Method Summary
Modifier and TypeMethodDescriptionintReturn maximum number of jobs that can execute concurrently.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
Method Details
-
getMaxConcurrency
public int getMaxConcurrency()Return maximum number of jobs that can execute concurrently.- Returns:
- the number (≥1)
-