Package edu.rit.pj

Class KillRegion


public class KillRegion extends ParallelRegion
Provides a mechanism to shut down a ParallelTeam's threads, enabling garbage collection.
Author:
Jacob Litman
  • Constructor Details

    • KillRegion

      public KillRegion()
  • Method Details

    • run

      public void run() throws Exception
      Execute parallel code. All threads of the parallel team call the run() method concurrently.

      The run() method must be implemented in a subclass.

      Specified by:
      run in class ParallelRegion
      Throws:
      Exception - The run() method may throw any exception.
      Exception - if any.