Ali*_*zza 2 c# compact-framework
是否有可能在紧凑的框架3.5中获取线程状态信息?
Thread th=new Thread(new ThreadStart(DoIT));
th.Start();
Thred.sleep(1000);
th.??? // is thread running, suspended, etc.?
void DoIT(){
//do stuff in here and exit after some second
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1522 次 |
| 最近记录: |