1
2
3
4 package joeq.ClassLib.sun14_linux.java.lang;
5
6 import joeq.Scheduler.jq_Thread;
7
8 /***
9 * Thread
10 *
11 * @author John Whaley <jwhaley@alum.mit.edu>
12 * @version $Id: Thread.java 1451 2004-03-09 06:27:08Z jwhaley $
13 */
14 public abstract class Thread {
15
16 public final jq_Thread jq_thread;
17
18 private void init(java.lang.ThreadGroup g, java.lang.Runnable target, java.lang.String name) {
19 this.init(g, target, name, 0L);
20 }
21 private native void init(java.lang.ThreadGroup g, java.lang.Runnable target, java.lang.String name, long stackSize);
22
23 public Thread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name, long stackSize) {
24 java.lang.Object o = this;
25 jq_Thread t = new jq_Thread((java.lang.Thread)o);
26 this.jq_thread = t;
27 this.init(group, target, name, stackSize);
28 t.init();
29 }
30
31 }