org.lightwolf.process
Class CurrentProcess
java.lang.Object
org.lightwolf.process.CurrentProcess
public class CurrentProcess
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentProcess
public CurrentProcess()
getCurrent
public static OldProcess getCurrent()
safeGetCurrent
public static OldProcess safeGetCurrent()
setCurrent
public static OldProcess setCurrent(OldProcess process)
enter
public static void enter()
exit
public static void exit()
fork
public static void fork()
join
public static void join()
onPath
public static boolean onPath()
- Returns true if this is a fork path. Must be called inside a fork block.