为什么不打电话给wait(),没有一个同步块不是一个编译错误notify()或notifyall()?
Why isn't calling wait(), notify() or notifyAll() without a synchronized block not a compiler error?
为什么不打电话给wait(),没有一个同步块不是一个编译错误notify()或notifyall()?
Why isn't calling wait(), notify() or notifyAll() without a synchronized block not a compiler error?
应用推荐