Type Alias mariadb_sys::mysql_prlock_t

source ·
pub type mysql_prlock_t = st_mysql_prlock;
Expand description

Type of an instrumented prlock. A prlock is a read write lock that ‘prefers readers’ (pr). @c mysql_prlock_t is a drop-in replacement for @c rw_pr_lock_t. @sa mysql_prlock_init @sa mysql_prlock_rdlock @sa mysql_prlock_wrlock @sa mysql_prlock_unlock @sa mysql_prlock_destroy

Aliased Type§

struct mysql_prlock_t {
    pub m_prlock: st_rw_pr_lock_t,
    pub m_psi: *mut PSI_rwlock,
}

Fields§

§m_prlock: st_rw_pr_lock_t

The real prlock

§m_psi: *mut PSI_rwlock

The instrumentation hook. Note that this hook is not conditionally defined, for binary compatibility of the @c mysql_rwlock_t interface.