#include <rte_rwlock.h>
The rte_rwlock_t type.
cnt is -1 when write lock is held, and > 0 when read locks are held.
-1 when W lock held, > 0 when R locks held.