摘要: 多条语句对共性数据进行操作的部分包起来 使用synchronize (){}方法 创建一个锁对象 使多条线程都走该对象(锁) 阅读全文
posted @ 2019-02-12 14:45 Risen 阅读(124) 评论(0) 推荐(0) 编辑