开发者

Wait and Notify

If the main thread qui开发者_高级运维ts before child finishes its work, and child tries to notify, what will happen?

Thanks


If you call notify() on an object that no other thread called wait() on, then the notify call will have no effect.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜