Thread (Runnable runnable, ThreadGroup grp, string name) { thread = new System.Threading.Thread (new ThreadStart (InternalRun)); this.runnable = runnable ?? this; tgroup = grp ?? defaultGroup; tgroup.Add (this); if (name != null) thread.Name = name; }
Thread(Runnable runnable, ThreadGroup grp, string name) { thread = new System.Threading.Thread(new 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); }
private Thread (System.Threading.Thread t) { thread = t; tgroup = defaultGroup; tgroup.Add (this); }