#[repr(C)]pub struct thread_pool_entry_struct {
pub pth: pthread_t,
pub mutex: pthread_mutex_t,
pub sleep1: pthread_cond_t,
pub sleep2: pthread_cond_t,
pub idx: c_int,
pub available: c_int,
pub max_workers: c_int,
pub fxn: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub fxnarg: *mut c_void,
pub working: c_int,
pub exit: c_int,
}Fields§
§pth: pthread_t§mutex: pthread_mutex_t§sleep1: pthread_cond_t§sleep2: pthread_cond_t§idx: c_int§available: c_int§max_workers: c_int§fxn: Option<unsafe extern "C" fn(arg1: *mut c_void)>§fxnarg: *mut c_void§working: c_int§exit: c_intTrait Implementations§
Auto Trait Implementations§
impl Freeze for thread_pool_entry_struct
impl RefUnwindSafe for thread_pool_entry_struct
impl !Send for thread_pool_entry_struct
impl !Sync for thread_pool_entry_struct
impl Unpin for thread_pool_entry_struct
impl UnsafeUnpin for thread_pool_entry_struct
impl UnwindSafe for thread_pool_entry_struct
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