lock
This commit is contained in:
parent
ac54e51d2a
commit
170f8b3edf
|
@ -0,0 +1,18 @@
|
|||
package server;
|
||||
|
||||
public class LockKey {
|
||||
public Integer memNumber = 0;
|
||||
public Integer ncount = 0;
|
||||
public Integer state = unLock;
|
||||
|
||||
LockKey(Integer num, Integer count, Integer s)
|
||||
{
|
||||
memNumber = num;
|
||||
ncount = count;
|
||||
state = s;
|
||||
}
|
||||
|
||||
public final static Integer unLock = 0;
|
||||
public final static Integer badLock =1;
|
||||
public final static Integer waitLock =2;
|
||||
}
|
Loading…
Reference in New Issue