private ThreadGroup(Void unused, ThreadGroup parent, String name) { this.Name_Renamed = name; this.MaxPriority_Renamed = parent.MaxPriority_Renamed; this.Daemon_Renamed = parent.Daemon_Renamed; this.VmAllowSuspension = parent.VmAllowSuspension; this.Parent_Renamed = parent; parent.Add(this); }
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); }