MySQL 8.0.30
Source Code Documentation
thr_rwlock.cc File Reference

Synchronization - readers / writer thread locks. More...

#include "thr_rwlock.h"

Functions

int rw_pr_init (rw_pr_lock_t *rwlock)
 
int rw_pr_destroy (rw_pr_lock_t *rwlock)
 
int rw_pr_rdlock (rw_pr_lock_t *rwlock)
 
int rw_pr_wrlock (rw_pr_lock_t *rwlock)
 
int rw_pr_unlock (rw_pr_lock_t *rwlock)
 

Detailed Description

Synchronization - readers / writer thread locks.

Function Documentation

◆ rw_pr_destroy()

int rw_pr_destroy ( rw_pr_lock_t rwlock)

◆ rw_pr_init()

int rw_pr_init ( rw_pr_lock_t rwlock)

◆ rw_pr_rdlock()

int rw_pr_rdlock ( rw_pr_lock_t rwlock)

◆ rw_pr_unlock()

int rw_pr_unlock ( rw_pr_lock_t rwlock)

◆ rw_pr_wrlock()

int rw_pr_wrlock ( rw_pr_lock_t rwlock)