Skip to content

Commit

Permalink
JobSystemThreadPool: add the 2-arg constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 28, 2024
1 parent fee591f commit 5e6363d
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ public class JobSystemThreadPool extends JobSystem {
// *************************************************************************
// constructors

/**
* Instantiate a job system with the specified limits.
*
* @param maxJobs the maximum number of jobs that can be allocated at one
* time
* @param maxBarriers the maximum number of barriers that can be allocated
* at one time
*/
public JobSystemThreadPool(int maxJobs, int maxBarriers) {
this(maxJobs, maxBarriers, -1);
}

/**
* Instantiate a job system with the specified limits.
*
Expand Down

0 comments on commit 5e6363d

Please sign in to comment.