mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
progress on thread support
This commit is contained in:
@ -2,12 +2,13 @@ package java.lang;
|
||||
|
||||
public class Thread implements Runnable {
|
||||
private final Runnable task;
|
||||
private long peer;
|
||||
|
||||
public Thread(Runnable task) {
|
||||
this.task = task;
|
||||
}
|
||||
|
||||
public native void start();
|
||||
public synchronized native void start();
|
||||
|
||||
public void run() {
|
||||
if (task != null) {
|
||||
|
Reference in New Issue
Block a user