阅读背景:

如果synchronized方法调用另一个非同步方法,那么非同步方法是否存在锁定

来源:互联网 

In Java, if a synchronized method contains a call to a non-synchronized, can another method still access the non-synchronized method at the same time? Basically what I'm asking is everything in the synchronized method have a lock on it (including calls to other synchronized methods)? Thanks so muchIn Java, if a synchronized method contains a ca




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: