rwlock: promote trylock operations as stable

These have been in for since 19.02, time to take off the
experimental tag.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
Stephen Hemminger 2022-10-17 18:57:20 -07:00 committed by David Marchand
parent 44830cc082
commit 04d59ab2cf

View File

@ -108,10 +108,7 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl)
}
/**
* @warning
* @b EXPERIMENTAL: this API may change without prior notice.
*
* try to take a read lock.
* Try to take a read lock.
*
* @param rwl
* A pointer to a rwlock structure.
@ -120,7 +117,6 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl)
* - -EBUSY if lock could not be acquired for reading because a
* writer holds the lock
*/
__rte_experimental
static inline int
rte_rwlock_read_trylock(rte_rwlock_t *rwl)
{
@ -159,10 +155,7 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl)
}
/**
* @warning
* @b EXPERIMENTAL: this API may change without prior notice.
*
* try to take a write lock.
* Try to take a write lock.
*
* @param rwl
* A pointer to a rwlock structure.
@ -171,7 +164,6 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl)
* - -EBUSY if lock could not be acquired for writing because
* it was already locked for reading or writing
*/
__rte_experimental
static inline int
rte_rwlock_write_trylock(rte_rwlock_t *rwl)
{