用互斥锁实现读写锁,写者优先。这个是用synchronized就行了啊
点赞 2

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务