if (socketAtServer!= null)
            {  
                //限制线程数最大为2
                thread=new ServerThread(socketAtServer);
                thread.start();
            }
怎样加一个函数控告线程的数量呢????????具体给写一下好吗?帮助文档里写的太烂了,不明白 。