##死锁代码 public class LockSupportThreadTest {public static void main(String[] args) {LockSupportThreadTest threadTest = new LockSupportThreadTest();Thread yym_user_thread2 = new Thread() {public void r
内容:结合一篇博文和自己写的简单例子学习,当然还可以看文档 public class TestLockSupport {public static class MyRunnable implements Runnable {private final Thread currentThread;public MyRunnable(Thread thread) {this.currentThre