Thread myThread = new Thread(new ParameterizedThreadStart(threadFunction));
public void threadFunction() {
// Run a finite code
...
}
问题是:一旦threadFunction()
完成,myThread
会被处理吗?
Thread myThread = new Thread(new ParameterizedThreadStart(threadFunction));
public void threadFunction() {
// Run a finite code
...
}
问题是:一旦threadFunction()
完成,myThread
会被处理吗?