public Thread(Runnable runnable, ThreadGroup grp, string name) { thread = new System.Threading.Thread(new System.Threading.ThreadStart(InternalRun)); this.runnable = runnable ?? this; tgroup = grp ?? defaultGroup; tgroup.Add(this); if (name != null) { thread.Name = name; } }
private Thread(System.Threading.Thread t) { thread = t; tgroup = defaultGroup; tgroup.Add(this); }
public Thread(ThreadGroup grp, string name) : this(null, grp, name) { }