Esempio n. 1
0
//! Return true if instance was constructed successfully.
inline bool ItemQ::isOk() const
{
    bool ok = emptySlotCount_->isOk() && inUseSlotCount_.isOk() && ss_.isOk();
    return ok;
}
Esempio n. 2
0
//! Return true if instance was successfully constructed.
inline bool SpinSection::isOk() const
{
    return sem_.isOk();
}