- 博客(1)
- 资源 (8)
- 收藏
- 关注
关于synchronized对象锁问题
public class Test implements Runnable{ public String msg = "show" public synchronized void show() { while (true) { System.out.println(msg); } ...
2008-12-06 14:35:53 56
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
public class Test implements Runnable{ public String msg = "show" public synchronized void show() { while (true) { System.out.println(msg); } ...
2008-12-06 14:35:53 56
TA创建的收藏夹 TA关注的收藏夹
TA关注的人