#[repr(C)]pub struct _GThreadFunctions {Show 21 fields
pub mutex_new: Option<unsafe extern "C" fn() -> *mut _GMutex>,
pub mutex_lock: Option<unsafe extern "C" fn(*mut _GMutex)>,
pub mutex_trylock: Option<unsafe extern "C" fn(*mut _GMutex) -> i32>,
pub mutex_unlock: Option<unsafe extern "C" fn(*mut _GMutex)>,
pub mutex_free: Option<unsafe extern "C" fn(*mut _GMutex)>,
pub cond_new: Option<unsafe extern "C" fn() -> *mut _GCond>,
pub cond_signal: Option<unsafe extern "C" fn(*mut _GCond)>,
pub cond_broadcast: Option<unsafe extern "C" fn(*mut _GCond)>,
pub cond_wait: Option<unsafe extern "C" fn(*mut _GCond, *mut _GMutex)>,
pub cond_timed_wait: Option<unsafe extern "C" fn(*mut _GCond, *mut _GMutex, *mut _GTimeVal) -> i32>,
pub cond_free: Option<unsafe extern "C" fn(*mut _GCond)>,
pub private_new: Option<unsafe extern "C" fn(Option<unsafe extern "C" fn(*mut c_void)>) -> *mut _GPrivate>,
pub private_get: Option<unsafe extern "C" fn(*mut _GPrivate) -> *mut c_void>,
pub private_set: Option<unsafe extern "C" fn(*mut _GPrivate, *mut c_void)>,
pub thread_create: Option<unsafe extern "C" fn(Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>, *mut c_void, u64, i32, i32, u32, *mut c_void, *mut *mut _GError)>,
pub thread_yield: Option<unsafe extern "C" fn()>,
pub thread_join: Option<unsafe extern "C" fn(*mut c_void)>,
pub thread_exit: Option<unsafe extern "C" fn()>,
pub thread_set_priority: Option<unsafe extern "C" fn(*mut c_void, u32)>,
pub thread_self: Option<unsafe extern "C" fn(*mut c_void)>,
pub thread_equal: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> i32>,
}Fields§
§mutex_new: Option<unsafe extern "C" fn() -> *mut _GMutex>§mutex_lock: Option<unsafe extern "C" fn(*mut _GMutex)>§mutex_trylock: Option<unsafe extern "C" fn(*mut _GMutex) -> i32>§mutex_unlock: Option<unsafe extern "C" fn(*mut _GMutex)>§mutex_free: Option<unsafe extern "C" fn(*mut _GMutex)>§cond_new: Option<unsafe extern "C" fn() -> *mut _GCond>§cond_signal: Option<unsafe extern "C" fn(*mut _GCond)>§cond_broadcast: Option<unsafe extern "C" fn(*mut _GCond)>§cond_wait: Option<unsafe extern "C" fn(*mut _GCond, *mut _GMutex)>§cond_timed_wait: Option<unsafe extern "C" fn(*mut _GCond, *mut _GMutex, *mut _GTimeVal) -> i32>§cond_free: Option<unsafe extern "C" fn(*mut _GCond)>§private_new: Option<unsafe extern "C" fn(Option<unsafe extern "C" fn(*mut c_void)>) -> *mut _GPrivate>§private_get: Option<unsafe extern "C" fn(*mut _GPrivate) -> *mut c_void>§private_set: Option<unsafe extern "C" fn(*mut _GPrivate, *mut c_void)>§thread_create: Option<unsafe extern "C" fn(Option<unsafe extern "C" fn(*mut c_void) -> *mut c_void>, *mut c_void, u64, i32, i32, u32, *mut c_void, *mut *mut _GError)>§thread_yield: Option<unsafe extern "C" fn()>§thread_join: Option<unsafe extern "C" fn(*mut c_void)>§thread_exit: Option<unsafe extern "C" fn()>§thread_set_priority: Option<unsafe extern "C" fn(*mut c_void, u32)>§thread_self: Option<unsafe extern "C" fn(*mut c_void)>§thread_equal: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> i32>Trait Implementations§
Source§impl Clone for _GThreadFunctions
impl Clone for _GThreadFunctions
Source§fn clone(&self) -> _GThreadFunctions
fn clone(&self) -> _GThreadFunctions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _GThreadFunctions
impl Debug for _GThreadFunctions
impl Copy for _GThreadFunctions
Auto Trait Implementations§
impl Freeze for _GThreadFunctions
impl RefUnwindSafe for _GThreadFunctions
impl Send for _GThreadFunctions
impl Sync for _GThreadFunctions
impl Unpin for _GThreadFunctions
impl UnwindSafe for _GThreadFunctions
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