摘要:
class Program { public delegate int AsyncDelegate(int intValue, int intTime);//定义一个委托类型 static int AsyncDeleFun(int intValue, int intTime) ... 阅读全文
摘要:
class Program { static void Main(string[] args) { int intWorkerThreas; //定义最大工作线程数 int intCompletionPortThreads; //定义最大I/O线程数 ... 阅读全文
摘要:
class Program { static void Main(string[] args) { PriorityClass pc = new PriorityClass(); //实例化PriorityTest类 Thread threadOne = new ... 阅读全文
摘要:
Program1 p1 = new Program1(); Thread th = new Thread(new ThreadStart(p1.ThreadRunMethord));//创建一个新的子线程 if (th.ThreadState != ThreadState.Run... 阅读全文