在这里我们只是实现lock()和unLock()方法
源代码地址:https://github.com/woxbwo/is-concurrent
完成!!!
java-实现自己的锁
原文:https://www.cnblogs.com/woxbwo/p/11441289.html