DPDK
20.05.0
|
#include <rte_rwlock.h>
Data Fields | |
volatile int32_t | cnt |
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.
volatile int32_t cnt |
-1 when W lock held, > 0 when R locks held.
Definition at line 34 of file rte_rwlock.h.