摘要:
package com.xielu.test; public class explicit { private static Lock lock = new ReentrantLock(); private static Condition odd = lock.newCondition(); pr 阅读全文
posted @ 2021-10-27 15:29
Spillage
阅读(46)
评论(0)
推荐(0)
摘要:
在面试菜鸟的时候碰到的锁的编程问题,没答好,记录一下: package com.xielu.test; /** * Hello world! * */ public class App { private Object lock = new Object(); private static int 阅读全文
posted @ 2021-10-27 15:18
Spillage
阅读(77)
评论(0)
推荐(0)
浙公网安备 33010602011771号