示例#1
0
        private PipeThreadState CreateThreadState(Thread t)
        {
            var pts = new PipeThreadState(t);

            _threads.Add(pts);
            return(pts);
        }
示例#2
0
 private void ThreadClosed(PipeThreadState pts)
 {
     if (_active)
     {
         var t = new Thread(RunThreadClosed);
         t.Start(pts);
     }
 }