[dpdk-dev] [PATCH v2 0/2] Add 'try' semantics for RD and WR locking
Konstantin Ananyev
konstantin.ananyev at intel.com
Wed Dec 19 19:07:15 CET 2018
Introduce rte_rwlock_read_trylock() and rte_rwlock_write_trylock()
and new UT test-case for it.
v1 -> v2
Changes per Honnappa and Gavin comments:
- remove cycle in rte_rwlock_write_trylock()
- remove static inline functions from .map file
- update comments
Konstantin Ananyev (2):
rwlock: introduce 'try' semantics for RD and WR locking
test: add new test-cases for rwlock autotest
.../common/include/generic/rte_rwlock.h | 56 +++
test/test/test_rwlock.c | 409 +++++++++++++++++-
2 files changed, 446 insertions(+), 19 deletions(-)
--
2.17.1
More information about the dev
mailing list