projects
/
IRC.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
build script for everything
[IRC.git]
/
Robust
/
src
/
ClassLibrary
/
Thread.java
1
public class Thread {
2
private boolean finished;
3
4
public void start() {
5
nativeCreate();
6
}
7
8
private static void staticStart(Thread t) {
9
t.run();
10
}
11
12
public static native void yield();
13
14
public void join() {
15
nativeJoin();
16
}
17
18
private native void nativeJoin();
19
20
public native static void sleep(long millis);
21
22
public void run() {
23
}
24
25
private native void nativeCreate();
26
27
}