public class NutLock extends Object
Constructor and Description |
---|
NutLock()
锁对象
|
Modifier and Type | Method and Description |
---|---|
boolean |
isStop()
是否已经停止
|
NutLock |
setStop(boolean stop)
设置停止位
|
NutLock |
stop()
设置为停止
|
void |
wakeup()
唤醒所有等待本对象的线程
|
Copyright © 2017. All rights reserved.