Topic: [求助]怎么暂停程重新启动线程?

  Print this page

1.[求助]怎么暂停程重新启动线程? Copy to clipboard
Posted by: scwfeng
Posted on: 2006-04-12 19:51

今天查API时发现suspend() resume()都已过时了,我该怎么办?
yield()也是暂停当前线程,能否重新启动?

2.Re:[求助]怎么暂停程重新启动线程? [Re: scwfeng] Copy to clipboard
Posted by: laies
Posted on: 2006-04-12 20:16

API里没有,可以自己简单写一个用。

3.Re:[求助]怎么暂停程重新启动线程? [Re: scwfeng] Copy to clipboard
Posted by: sole_eagle
Posted on: 2006-04-29 16:08

好像有个notify吧。

4.Re:[求助]怎么暂停程重新启动线程? [Re: scwfeng] Copy to clipboard
Posted by: guaqingqing1314
Posted on: 2006-06-06 22:53

wait()暂停,notify()唤醒暂停的线程!具体的自己查查看


   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