Type Alias GThreadFunctions
Source pub type GThreadFunctions = _GThreadFunctions;
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, u32, 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>,
}