Package com.github.stephengold.joltjni
Class JobSystemSingleThreaded
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.JobSystem
com.github.stephengold.joltjni.JobSystemSingleThreaded
- All Implemented Interfaces:
- ConstJoltPhysicsObject,- AutoCloseable,- Comparable<JoltPhysicsObject>
A sample implementation of 
JobSystem without threads. It runs jobs as
 soon as they are added.- 
Constructor SummaryConstructorsConstructorDescriptionJobSystemSingleThreaded(int maxJobs) Instantiate a job system with the specified limit.
- 
Method SummaryMethods inherited from class com.github.stephengold.joltjni.JobSystemgetMaxConcurrencyMethods inherited from class com.github.stephengold.joltjni.JoltPhysicsObjectclose, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
- 
Constructor Details- 
JobSystemSingleThreadedpublic JobSystemSingleThreaded(int maxJobs) Instantiate a job system with the specified limit.- Parameters:
- maxJobs- the maximum number of jobs the system can allocate (a power of 2, >1)
- See Also:
 
 
-