如题?
解决方案 »
- 新手问点小问题,WINDOWS窗体访问SQL
- 读取XML某子节点的所有值
- treeview的NodeMouseClick事件
- 关于查找指定扩展名文件的问题
- C# 异步编程
- 关于.Net错误页的问题
- 急~ASP.NET服务器如何判断客户端浏览器有没有开Cookie
- 简体和繁体互想转换
- 各位老大,请问:用C#开发的软件安装到用户机器上是不是要安装.NET框架啊!!我急需答案!!谢谢!!
- 给一个VS。NET正式版的序列号
- The underlying connection was closed: Unable to connect to the remote server
- 如何通过控件名对控件进行操作?[急]
if(线程1运行)
执行线程2
if(线程2运行)
执行线程3
..................
不知还有没有更好的
bool btag = false;
……
thread th1 = new thread(new ThreadStart(this.Fun1));
thread th2 = new thread(new ThreadStart(this.Fun2));
th1.start();
btag = true;
if(!btag)
{th2.start();}
……
private void Fun1()
{
//TODO
btag = false;
}