pub fn requeue(&self, addr: UserAddress, count: usize, new_addr: UserAddress) {
        let mut waiters = WaitQueue::default();
        if let Some(old_waiters) = self.state.lock().remove(&addr) {
            waiters.transfer(&mut old_waiters.lock());
        }
        waiters.notify_mask_count(FUTEX_BITSET_MATCH_ANY, count);
        let new_waiters = self.get_waiters(new_addr);
        new_waiters.lock().transfer(&mut waiters);
    }
/// Requeue the waitersd to another address.
///
/// See FUTEX_REQUEUE
Requeue the waitersd to another address.
Requeue the waitersd to another address .
pub fn requeue(&self, addr: UserAddress, count: usize, new_addr: UserAddress) {
        let mut waiters = WaitQueue::default();
        if let Some(old_waiters) = self.state.lock().remove(&addr) {
            waiters.transfer(&mut old_waiters.lock());
        }
        waiters.notify_mask_count(FUTEX_BITSET_MATCH_ANY, count);
        let new_waiters = self.get_waiters(new_addr);
        new_waiters.lock().transfer(&mut waiters);
    }
pub fn requeue ( & self , addr : UserAddress , count : usize , new_addr : UserAddress ) { let mut waiters = WaitQueue :: default ( ) ; if let Some ( old_waiters ) = self . state . lock ( ) . remove ( & addr ) { waiters . transfer ( & mut old_waiters . lock ( ) ) ; } waiters . notify_mask_count ( FUTEX_BITSET_MATCH_ANY , count ) ; let new_waiters = self . get_waiters ( new_addr ) ; new_waiters . lock ( ) . transfer ( & mut waiters ) ; }
Requeue the waitersd to another address.
Requeue the waitersd to another address .
&self
addr
UserAddress
count
usize
new_addr
UserAddress
&self
addr
UserAddress
count
usize
new_addr
UserAddress