GoodHope: 如果要用一个全局锁能不能这样 [阅读: 279] 2005-12-05 07:08:19 public void setIntval(int intval) { synchronized( null ) { this.intval = intval; } }