xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
std
ReadWriteLock.xcs
浏览该文件的文档.
1
4
@Declare
5
class
ReadWriteLock
:
RWLock
{
9
void
lockRead
();
10
15
void
unlockRead
();
16
21
bool
trylockRead
();
22
23
27
void
lockWrite
();
28
33
void
unlockWrite
();
34
39
bool
trylockWrite
();
40
};
ReadWriteLock
读写锁
Definition
BuiltinObjects.x:1235
ReadWriteLock.trylockRead
bool trylockRead()
尝试读加锁
ReadWriteLock.trylockWrite
bool trylockWrite()
尝试写加锁
ReadWriteLock.unlockRead
void unlockRead()
读解锁
ReadWriteLock.unlockWrite
void unlockWrite()
写解锁
ReadWriteLock.lockWrite
void lockWrite()
写加锁
ReadWriteLock.lockRead
void lockRead()
读加锁
RWLock
读写锁接口
Definition
RWLock.xcs:5
制作者
1.9.8