pub fn is_signal_pending(&self, sig: Sig) -> bool {
        let mut pending_strs = read_proc_status_fields(self.tid, &[b"SigPnd", b"ShdPnd"]).unwrap();
        ed_assert_eq!(self, pending_strs.len(), 2);

        let mask2 =
            u64::from_str_radix(&pending_strs.pop().unwrap().into_string().unwrap(), 16).unwrap();
        let mask1 =
            u64::from_str_radix(&pending_strs.pop().unwrap().into_string().unwrap(), 16).unwrap();
        ((mask1 | mask2) & signal_bit(sig)) != 0
    }
/// Return true if `sig` is pending but hasn't been reported to ptrace yet
/// DIFF NOTE: A little more stricter than rr due to the unwraps and assert
Return true if `sig` is pending but hasn't been reported to ptrace yet
DIFF NOTE: A little more stricter than rr due to the unwraps and assert
Return true if ` sig ` is pending but hasn ' t been reported to ptrace yet DIFF NOTE : A little more stricter than rr due to the unwraps and assert
pub fn is_signal_pending(&self, sig: Sig) -> bool {
        let mut pending_strs = read_proc_status_fields(self.tid, &[b"SigPnd", b"ShdPnd"]).unwrap();
        ed_assert_eq!(self, pending_strs.len(), 2);
        let mask2 =
            u64::from_str_radix(&pending_strs.pop().unwrap().into_string().unwrap(), 16).unwrap();
        let mask1 =
            u64::from_str_radix(&pending_strs.pop().unwrap().into_string().unwrap(), 16).unwrap();
        ((mask1 | mask2) & signal_bit(sig)) != 0
    }
pub fn is_signal_pending ( & self , sig : Sig ) -> bool { let mut pending_strs = read_proc_status_fields ( self . tid , & [ b" " , b" " ] ) . unwrap ( ) ; ed_assert_eq ! ( self pending_strs len ( ) 2 ) ; let mask2 = u64 :: from_str_radix ( & pending_strs . pop ( ) . unwrap ( ) . into_string ( ) . unwrap ( ) , 16 ) . unwrap ( ) ; let mask1 = u64 :: from_str_radix ( & pending_strs . pop ( ) . unwrap ( ) . into_string ( ) . unwrap ( ) , 16 ) . unwrap ( ) ; ( ( mask1 | mask2 ) & signal_bit ( sig ) ) != 0 }
Return true if `sig` is pending but hasn't been reported to ptrace yet
DIFF NOTE: A little more stricter than rr due to the unwraps and assert
Return true if ` sig ` is pending but hasn ' t been reported to ptrace yet DIFF NOTE : A little more stricter than rr due to the unwraps and assert
&self
sig
Sig