Lines Matching defs:bits
17 PThreadEvent::PThreadEvent(uint32_t bits, uint32_t validBits)
18 : m_mutex(), m_set_condition(), m_reset_condition(), m_bits(bits),
21 // this, __FUNCTION__, bits, validBits);
51 uint32_t bits = m_bits;
52 return bits;
55 // Replace the event bits with a new bitmask value
56 void PThreadEvent::ReplaceEventBits(const uint32_t bits) {
58 // __FUNCTION__, bits);
60 // Make sure we have some bits and that they aren't already set...
61 if (m_bits != bits) {
62 // Figure out which bits are changing
63 uint32_t changed_bits = m_bits ^ bits;
65 m_bits = bits;
66 // If any new bits are set, then broadcast
72 // Set one or more event bits and broadcast if any new event bits get set
78 // Make sure we have some bits to set
83 // Set the all event bits that are set in 'mask'
85 // Broadcast only if any extra bits got set.
91 // Reset one or more event bits
100 // Clear the all event bits that are set in 'mask'
102 // Broadcast only if any extra bits got reset.
144 // got here, recompute and return the mask indicating which bits (if any) are