Class JmcLockSupport

java.lang.Object
org.mpi_sws.jmc.api.util.concurrent.JmcLockSupport

public class JmcLockSupport extends Object
The LockSupport class is the replacement for LockSupport class.
  • Constructor Details

    • JmcLockSupport

      public JmcLockSupport()
  • Method Details

    • park

      public static void park()
      Park the current thread.

      This method calls the parkOperation method of the RuntimeEnvironment class to park the current thread.

    • unpark

      public static void unpark(Thread thread)
      Unpark the given thread.

      This method calls the unparkOperation method of the RuntimeEnvironment class to unpark the given thread.

      Parameters:
      thread -