DPDK
make-f/builddir/build/BUILD/dpdk-2.0.0/mk/rte.sdkconfig.mkshowversion
|
#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.
volatile int32_t cnt |
-1 when W lock held, > 0 when R locks held.