Add() private method

private Add ( Thread t ) : void
t Thread
return void
示例#1
0
		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;
		}
示例#2
0
        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;
            }
        }
示例#3
0
 private Thread(System.Threading.Thread t)
 {
     thread = t;
     tgroup = defaultGroup;
     tgroup.Add(this);
 }
示例#4
0
		private Thread (System.Threading.Thread t)
		{
			thread = t;
			tgroup = defaultGroup;
			tgroup.Add (this);
		}