pub struct ThreadDb { /* private fields */ }
Implementations§
source§impl ThreadDb
impl ThreadDb
pub unsafe fn td_init(&self) -> TdErr
pub unsafe fn td_ta_new( &self, ps: *mut ProcHandle, ta: *mut *mut TdThrAgent ) -> TdErr
pub unsafe fn td_ta_delete(&self, ta: *mut TdThrAgent) -> TdErr
pub unsafe fn td_ta_get_nthreads( &self, ta: *const TdThrAgent, np: *mut i32 ) -> TdErr
pub unsafe fn td_ta_enable_stats( &self, ta: *mut TdThrAgent, enable: i32 ) -> TdErr
pub unsafe fn td_ta_reset_stats(&self, ta: *mut TdThrAgent) -> TdErr
pub unsafe fn td_ta_get_stats( &self, ta: *const TdThrAgent, stats: *mut TdTaStats ) -> TdErr
pub unsafe fn td_ta_thr_iter( &self, ta: *mut TdThrAgent, callback: unsafe extern "C" fn(handle: *const TdThrHandle, cbdata: *mut c_void) -> i32, cbdata: *mut c_void, state: TdThrState, pri: i32, ti_sigmask: *mut sigset_t, ti_user_flags: u32 ) -> TdErr
pub unsafe fn td_thr_validate(&self, handle: *const TdThrHandle) -> TdErr
pub unsafe fn td_ta_map_lwp2thr( &self, ta: *const TdThrAgent, pid: pid_t, handle: *mut TdThrHandle ) -> TdErr
pub unsafe fn td_thr_get_info( &self, handle: *const TdThrHandle, info: *mut TdThrInfo ) -> TdErr
pub unsafe fn td_thr_tlsbase( &self, handle: *const TdThrHandle, modid: u32, base: *mut *mut c_void ) -> TdErr
pub unsafe fn td_thr_tls_get_addr( &self, handle: *const TdThrHandle, map_address: *const c_void, offset: size_t, addr: *mut *mut c_void ) -> TdErr
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ThreadDb
impl Send for ThreadDb
impl Sync for ThreadDb
impl Unpin for ThreadDb
impl UnwindSafe for ThreadDb
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more