Home | History | Annotate | Download | only in source

Lines Matching full:bits

18 PThreadEvent::PThreadEvent(uint32_t bits, uint32_t validBits) :
22 m_bits(bits),
26 // DNBLogThreadedIf(LOG_EVENTS, "%p PThreadEvent::%s (0x%8.8x, 0x%8.8x)", this, __FUNCTION__, bits, validBits);
65 uint32_t bits = m_bits;
66 return bits;
69 // Replace the event bits with a new bitmask value
71 PThreadEvent::ReplaceEventBits(const uint32_t bits)
73 // DNBLogThreadedIf(LOG_EVENTS, "%p PThreadEvent::%s (0x%8.8x)", this, __FUNCTION__, bits);
75 // Make sure we have some bits and that they aren't already set...
76 if (m_bits != bits)
78 // Figure out which bits are changing
79 uint32_t changed_bits = m_bits ^ bits;
81 m_bits = bits;
82 // If any new bits are set, then broadcast
88 // Set one or more event bits and broadcast if any new event bits get set
95 // Make sure we have some bits to set
101 // Set the all event bits that are set in 'mask'
103 // Broadcast only if any extra bits got set.
109 // Reset one or more event bits
120 // Clear the all event bits that are set in 'mask'
122 // Broadcast only if any extra bits got reset.
145 // Check our predicate (event bits) in case any are already set
193 // Check our predicate (event bits) each time through this do loop
196 // All the bits requested have been reset, return zero indicating
197 // which bits from the mask were still set (none of them)
214 // Return a mask indicating which bits (if any) were still set