F: lib/librte_eal/include/rte_bitmap.h
F: app/test/test_bitmap.c
-MCSlock - EXPERIMENTAL
+MCSlock
M: Phil Yang <phil.yang@arm.com>
F: lib/librte_eal/include/generic/rte_mcslock.h
F: app/test/test_mcslock.c
} rte_mcslock_t;
/**
- * @warning
- * @b EXPERIMENTAL: This API may change without prior notice
- *
* Take the MCS lock.
*
* @param msl
* A pointer to a new node of MCS lock. Each CPU/thread acquiring the
* lock should use its 'own node'.
*/
-__rte_experimental
static inline void
rte_mcslock_lock(rte_mcslock_t **msl, rte_mcslock_t *me)
{
}
/**
- * @warning
- * @b EXPERIMENTAL: This API may change without prior notice
- *
* Release the MCS lock.
*
* @param msl
* @param me
* A pointer to the node of MCS lock passed in rte_mcslock_lock.
*/
-__rte_experimental
static inline void
rte_mcslock_unlock(rte_mcslock_t **msl, rte_mcslock_t *me)
{
}
/**
- * @warning
- * @b EXPERIMENTAL: This API may change without prior notice
- *
* Try to take the lock.
*
* @param msl
* @return
* 1 if the lock is successfully taken; 0 otherwise.
*/
-__rte_experimental
static inline int
rte_mcslock_trylock(rte_mcslock_t **msl, rte_mcslock_t *me)
{
}
/**
- * @warning
- * @b EXPERIMENTAL: This API may change without prior notice
- *
* Test if the lock is taken.
*
* @param msl
* @return
* 1 if the lock is currently taken; 0 otherwise.
*/
-__rte_experimental
static inline int
rte_mcslock_is_locked(rte_mcslock_t *msl)
{