Class JmcLockSupport
java.lang.Object
org.mpi_sws.jmc.api.util.concurrent.JmcLockSupport
The LockSupport class is the replacement for
LockSupport
class.-
Constructor Summary
Constructors -
Method Summary
-
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
Unpark the given thread.This method calls the unparkOperation method of the RuntimeEnvironment class to unpark the given thread.
- Parameters:
thread-
-