src/dpdk/lib/librte_eal/include/generic/rte_ticketlock.h
static inline void
rte_ticketlock_init(rte_ticketlock_t *tl)
{
	__atomic_store_n(&tl->tickets, 0, __ATOMIC_RELAXED);
}
/**
 * Initialize the ticketlock to an unlocked state.
 *
 * @param tl
 *   A pointer to the ticketlock.
 */
Initialize the ticketlock to an unlocked state.
@param tl
A pointer to the ticketlock.
Initialize the ticketlock to an unlocked state . @param tl A pointer to the ticketlock .
static inline void
rte_ticketlock_init(rte_ticketlock_t *tl)
{
	__atomic_store_n(&tl->tickets, 0, __ATOMIC_RELAXED);
}
static inline void rte_ticketlock_init ( rte_ticketlock_t * tl ) { __atomic_store_n ( & tl -> tickets , 0 , __ATOMIC_RELAXED ) ; }
Initialize the ticketlock to an unlocked state.
Initialize the ticketlock to an unlocked state .