摘要: 记录一下synchronize(this)、synchronize(A.class)、private B b= new B(); synchronize(b) 、synchronize static(A.class)的使用。 其中synchronize(this) 锁的是当前对象,它的使用和priv 阅读全文
posted @ 2016-03-26 16:59 逐客教我 阅读(221) 评论(0) 推荐(0)