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