[PATCH 3/3] rwlock: make trylock operations no longer experimental
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 18 03:57:20 CEST 2022
These have been in for since 19.02, time to take off the
experimental tag.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/eal/include/generic/rte_rwlock.h | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/lib/eal/include/generic/rte_rwlock.h b/lib/eal/include/generic/rte_rwlock.h
index 90f77dfe23b0..233d4262bede 100644
--- a/lib/eal/include/generic/rte_rwlock.h
+++ b/lib/eal/include/generic/rte_rwlock.h
@@ -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)
{
--
2.35.1
More information about the dev
mailing list