Topic: 可否在线程里生成新的线程? |
Print this page |
1.可否在线程里生成新的线程? | Copy to clipboard |
Posted by: boper Posted on: 2004-09-02 18:51 我做了一个这样的程序,线程A中生成了线程B,但线程B向A退出的时候, 发生了问题,程序停到了Thread()的if (group !=null)处, 想知道问题是出在哪里,我是初学者,并没有见到过线程中生线程的例子,如果有的话,可否提供一个参考; 这方面的线程设计如果可行的话,需要注意什么问题? 非常感谢! |
2.Re:可否在线程里生成新的线程? [Re: boper] | Copy to clipboard |
Posted by: littledeer1974 Posted on: 2004-09-03 11:29 可以把你的程序贴上来吗 |
3.Re:可否在线程里生成新的线程? [Re: boper] | Copy to clipboard |
Posted by: cxp108 Posted on: 2004-09-03 17:53 怎么退的?? 是否在run()方法中正常返回?,如果不是尝试一下该方法 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |