projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
8b4b5a1
)
urcu_ref_get_safe: introduce new API
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Thu, 21 Jan 2016 16:45:58 +0000
(11:45 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Thu, 21 Jan 2016 16:47:27 +0000
(11:47 -0500)
Add a urcu_ref_get_safe API, which returns a boolean. It takes the value
"false" if a LONG_MAX overflow would occur (get is not performed in this
case), or true otherwise.
It warns the user (at compile-time) if the return value is unchecked.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
No differences found
This page took
0.027945 seconds
and
4
git commands to generate.