Class JobSystemSingleThreaded

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

public class JobSystemSingleThreaded extends JobSystem
A sample implementation of JobSystem without threads. It runs jobs as soon as they are added.
  • Constructor Details

    • JobSystemSingleThreaded

      public JobSystemSingleThreaded(int maxJobs)
      Instantiate a job system with the specified limit.
      Parameters:
      maxJobs - the maximum number of jobs that can be allocated at one time (>1)
      See Also: