Creates a new phaser with the given number of registered unarrived parties, no parent, and initial phase number 0.
parties | the number of parties required to advance to the next phase |
IllegalArgumentException | if parties less than zero or greater than the maximum number of parties supported |
Diagram: Phaser, Semaphore