projects
/
userspace-rcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc13f3
)
pointer.h: Fix the rcu_cmpxchg_pointer documentation
author
Ondřej Surý
<ondrej@sury.org>
Thu, 4 Jul 2024 08:29:10 +0000
(10:29 +0200)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Thu, 4 Jul 2024 18:03:58 +0000
(14:03 -0400)
Fix the description of rcu_cmpxchg_pointer() function that had switched
new and old pointers.
Signed-off-by: Ondřej Surý <ondrej@sury.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/pointer.h
patch
|
blob
|
blame
|
history
diff --git
a/include/urcu/pointer.h
b/include/urcu/pointer.h
index a6702723d611f4c2a96a57f9c8155b07fbc51752..56a77183bb4c8e0e362277e9ba22b4dcbf4e5381 100644
(file)
--- a/
include/urcu/pointer.h
+++ b/
include/urcu/pointer.h
@@
-47,7
+47,7
@@
extern "C" {
#define rcu_dereference _rcu_dereference
/*
- * type *rcu_cmpxchg_pointer(type **ptr, type *
new, type *old
)
+ * type *rcu_cmpxchg_pointer(type **ptr, type *
old, type *new
)
* type *rcu_xchg_pointer(type **ptr, type *new)
* void rcu_set_pointer(type **ptr, type *new)
*
This page took
0.026092 seconds
and
4
git commands to generate.