Example #1
0
 public synchronized void release(Pid pid) {
   mUsed.remove(Integer.valueOf(pid.toInteger()));
 }
Example #2
0
 public synchronized void use(Pid pid) {
   mUsed.add(pid.toInteger());
 }