开发者

Question about Thread + iPhone

I am having a confusion with threads.

Suppose I start a thread in a ViewController which开发者_高级运维 is doing some heavy processing. If I pop the viewController while the thread is still in execution will the thread stop executing or whether it will continue its execution.


It will continue to run until it finishes or you make it stop. So you should either kill that thread at an appropriate point, or make sure that the thread doesn't access any stale objects.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜