libxtc 0.4.0
Async concurrency for C: Tokio + Seastar + BEAM, in one library
Loading...
Searching...
No Matches
xtc_lwlock_t Struct Reference

Data Fields

uint8_t initialised
 
int n_waiters
 
uint8_t pad_
 
_Atomic uint32_t state
 
uint16_t tranche
 
pthread_cond_t wait_cv
 
pthread_mutex_t wait_mu
 
int wakers_pending
 
void * wq_head
 
void * wq_tail
 

Detailed Description

Definition at line 55 of file xtc_lwlock.h.

Field Documentation

◆ initialised

uint8_t xtc_lwlock_t::initialised

Definition at line 62 of file xtc_lwlock.h.

◆ n_waiters

int xtc_lwlock_t::n_waiters

Definition at line 59 of file xtc_lwlock.h.

◆ pad_

uint8_t xtc_lwlock_t::pad_

Definition at line 63 of file xtc_lwlock.h.

◆ state

_Atomic uint32_t xtc_lwlock_t::state

Definition at line 56 of file xtc_lwlock.h.

◆ tranche

uint16_t xtc_lwlock_t::tranche

Definition at line 61 of file xtc_lwlock.h.

◆ wait_cv

pthread_cond_t xtc_lwlock_t::wait_cv

Definition at line 58 of file xtc_lwlock.h.

◆ wait_mu

pthread_mutex_t xtc_lwlock_t::wait_mu

Definition at line 57 of file xtc_lwlock.h.

◆ wakers_pending

int xtc_lwlock_t::wakers_pending

Definition at line 60 of file xtc_lwlock.h.

◆ wq_head

void* xtc_lwlock_t::wq_head

Definition at line 69 of file xtc_lwlock.h.

◆ wq_tail

void* xtc_lwlock_t::wq_tail

Definition at line 70 of file xtc_lwlock.h.


The documentation for this struct was generated from the following file: