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.
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.
精彩评论