// returns u16::MAX if not attached to a thread
returns u16::MAX if not attached to a thread
returns u16 :: MAX if not attached to a thread
pub fn tid(self) -> u16 {
        if self.is_stack() {
            return ((self.0 & Self::THREAD_BITS) >> 48) as u16;
        }
        return u16::MAX;
    }
pub fn tid ( self ) -> u16 { if self . is_stack ( ) { return ( ( self . 0 & Self :: THREAD_BITS ) >> 48 ) as u16 ; } return u16 :: MAX ; }
returns u16::MAX if not attached to a thread
returns u16 :: MAX if not attached to a thread
self