src/dpdk/lib/librte_eal/include/generic/rte_ticketlock.h
static inline void
rte_ticketlock_recursive_unlock(rte_ticketlock_recursive_t *tlr)
{
	if (--(tlr->count) == 0) {
		__atomic_store_n(&tlr->user, TICKET_LOCK_INVALID_ID,
				 __ATOMIC_RELAXED);
		rte_ticketlock_unlock(&tlr->tl);
	}
}
/**
 * Release the recursive ticketlock.
 *
 * @param tlr
 *   A pointer to the recursive ticketlock.
 */
Release the recursive ticketlock.
@param tlr
A pointer to the recursive ticketlock.
Release the recursive ticketlock . @param tlr A pointer to the recursive ticketlock .
static inline void
rte_ticketlock_recursive_unlock(rte_ticketlock_recursive_t *tlr)
{
	if (--(tlr->count) == 0) {
		__atomic_store_n(&tlr->user, TICKET_LOCK_INVALID_ID,
				 __ATOMIC_RELAXED);
		rte_ticketlock_unlock(&tlr->tl);
	}
}
static inline void rte_ticketlock_recursive_unlock ( rte_ticketlock_recursive_t * tlr ) { if ( -- ( tlr -> count ) == 0 ) { __atomic_store_n ( & tlr -> user , TICKET_LOCK_INVALID_ID , __ATOMIC_RELAXED ) ; rte_ticketlock_unlock ( & tlr -> tl ) ; } }
Release the recursive ticketlock.
Release the recursive ticketlock .