protected static class SyncTaskHelper { private volatile int count = 0; public void enter() { synchronized (this) { this.count++; } } public int get() { return this.count; } public int leave() { sync... Read More
posted @ 2013-02-27 12:01 技术草根女 Views(241) Comments(0) Diggs(0) Edit