C#多线程简单任务
发布时间:2013-09-29 13:23  来源/作者:藕码网 分类:其他
					
						TAG标签: 
											
					
					- 代码详情
 - 用户评论
 - 相关代码
 
- 
									
C#多线程简单任务
代码片段:
public static void Saling() { Thread th = Thread.CurrentThread; //得到当前线程 while (ticks > -1) { Console.WriteLine("ThreadName:" + th.Name + " 票数:" + ticks--); are.Set();//终止当前线程,让下一个线程来执行 Thread.Sleep(50); } } - 
									最新评论
 
菜单/ Menu
				
			





							
