DPDK  20.05.0
Data Fields
rte_rwlock_t Struct Reference

#include <rte_rwlock.h>

Data Fields

volatile int32_t cnt
 

Detailed Description

The rte_rwlock_t type.

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

Definition at line 33 of file rte_rwlock.h.

Field Documentation

volatile int32_t cnt

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

Definition at line 34 of file rte_rwlock.h.


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