void handle(){ lock(); lock();//和上一个lock()操作同一个锁对象,那么这里就永远等待了 unlock(); unlock(); }
https://www.jianshu.com/p/845ca01f9ab6 https://blog.csdn.net/Somhu/article/details/78874634