if (socketAtServer!= null)
{
//限制线程数最大为2
thread=new ServerThread(socketAtServer);
thread.start();
}
怎样加一个函数控告线程的数量呢????????具体给写一下好吗?帮助文档里写的太烂了,不明白 。
{
//限制线程数最大为2
thread=new ServerThread(socketAtServer);
thread.start();
}
怎样加一个函数控告线程的数量呢????????具体给写一下好吗?帮助文档里写的太烂了,不明白 。
http://blog.csdn.net/axman/category/64977.aspx LZ的问题也许可以用这解决
http://blog.csdn.net/axman/archive/2007/01/12/1481197.aspx