| Constructor and Description |
|---|
GreenThread() |
| Modifier and Type | Method and Description |
|---|---|
static GreenThread |
currentThread() |
boolean |
isAlive() |
static void |
monitorEnter(Object o) |
static void |
monitorLeave() |
static void |
notify(Object o,
boolean all) |
void |
start()
Creates a new green thread that executes the given closure.
|
static void |
wait(Object o) |
public void start()
public boolean isAlive()
public static GreenThread currentThread()
public static void monitorEnter(Object o)
public static void monitorLeave()
public static void wait(Object o)
public static void notify(Object o, boolean all)
Copyright © 2011–2019. All rights reserved.