CNDP  22.08.0
cne_rwlock_t Struct Reference

#include <cne_rwlock.h>

Data Fields

volatile int32_t cnt
 

Detailed Description

The cne_rwlock_t type.

cnt is -1 when write lock is held, and > 0 when read locks are held.

Definition at line 34 of file cne_rwlock.h.

Field Documentation

◆ cnt

volatile int32_t cnt

-1 when W lock held, > 0 when R locks held.

Definition at line 35 of file cne_rwlock.h.


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