pub enum CondError {
Ok(XwEr),
NotInit(XwEr),
AlreadyFrozen(XwEr),
AlreadyThawed(XwEr),
Interrupt(XwEr),
Timedout(XwEr),
NotThreadContext(XwEr),
OutOfSelPos(XwEr),
AlreadyBound(XwEr),
SelPosBusy(XwEr),
Unknown(XwEr),
}
Expand description
条件量的错误码
Variants§
Ok(XwEr)
没有错误
NotInit(XwEr)
条件量没有初始化
AlreadyFrozen(XwEr)
条件量已被冻结
AlreadyThawed(XwEr)
条件量已解冻
Interrupt(XwEr)
等待被中断
Timedout(XwEr)
等待超时
NotThreadContext(XwEr)
不在线程上下文内
OutOfSelPos(XwEr)
信号选择器的位置超出范围
AlreadyBound(XwEr)
条件量已经绑定
SelPosBusy(XwEr)
信号选择器的位置被占用
Unknown(XwEr)
未知错误