 * @Warning: 死锁
 * @Author: <NAME>
 * @Package: thread-01 - ThreadService
 * @Date: Nov 26, 2020 10:57:49 PM
 * @Version: 1.0.0
 * @TimeComplexity: Required[O(1)]
 * @ExecuteResult: 死锁
 * @Status: Accepted
 */
public class ThreadService3 {

	public void method1() {

		System.out.println("Method 1 准备获取读锁");
		lock.readLock().lock();