#[repr(C)]pub struct r_th_t {
pub tid: pthread_t,
pub lock: *mut RThreadLock,
pub fun: Option<unsafe extern "C" fn(arg1: *mut r_th_t) -> RThreadFunctionRet>,
pub user: *mut c_void,
pub running: c_int,
pub breaked: c_int,
pub delay: c_int,
pub ready: c_int,
}
Fields§
§tid: pthread_t
§lock: *mut RThreadLock
§fun: Option<unsafe extern "C" fn(arg1: *mut r_th_t) -> RThreadFunctionRet>
§user: *mut c_void
§running: c_int
§breaked: c_int
§delay: c_int
§ready: c_int
Trait Implementations§
Auto Trait Implementations§
impl Freeze for r_th_t
impl RefUnwindSafe for r_th_t
impl !Send for r_th_t
impl !Sync for r_th_t
impl Unpin for r_th_t
impl UnwindSafe for r_th_t
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