IMPLEMENTATION [mp]: PRIVATE inline void NO_INSTRUMENT Switch_lock::clear_lock_owner() { atomic_mp_and(&_lock_owner, 1); }
void atomic_clear_bit(unsigned long bit) { unsigned long idx = bit / Bpl; unsigned long b = bit % Bpl; atomic_mp_and(&_bits()[idx], ~(1UL << b)); }
void atomic_clear_bit(unsigned long bit) { atomic_mp_and(&_bits[0], ~(1UL << bit)); }