Commit 8b0034a0956bda988acdf857468a809192da96b5

Authored by maliang
1 parent d9684d89c4
Exists in master

测试信息

Showing 2 changed files with 12 additions and 8 deletions

center.manager/src/test/java/center/manager/test/user/DeadLockTest.java View file @ 8b0034a
... ... @@ -32,14 +32,15 @@
32 32 }
33 33  
34 34 public static void main(String[] args) {
35   - DeadLockTest test1 = new DeadLockTest();
36   - DeadLockTest test2 = new DeadLockTest();
37   - test1.flag = 1;
38   - test2.flag = 0;
39   - Thread thread1 = new Thread(test1);
40   - Thread thread2 = new Thread(test2);
41   - thread1.start();
42   - thread2.start();
  35 + /*
  36 + * DeadLockTest test1 = new DeadLockTest(); DeadLockTest test2 = new
  37 + * DeadLockTest(); test1.flag = 1; test2.flag = 0; Thread thread1 = new
  38 + * Thread(test1); Thread thread2 = new Thread(test2); thread1.start();
  39 + * thread2.start();
  40 + *
  41 + */
  42 + System.out.println(18 ^ 7);
  43 +
43 44 }
44 45 }
parent/pom.xml View file @ 8b0034a
... ... @@ -307,5 +307,8 @@
307 307 <module>../hospital.web</module>
308 308 </modules> -->
309 309  
  310 + <modules>
  311 + <module>t</module>
  312 + </modules>
310 313 </project>