projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not permit NULL pointer on enable API calls
[lttng-tools.git]
/
lttng-sessiond
/
futex.c
diff --git
a/lttng-sessiond/futex.c
b/lttng-sessiond/futex.c
index de3f94e6e6a0bb6dcbc25505721ad033c398a1c1..e01771e6ea422bbbc8088f5b719a438f83f6b829 100644
(file)
--- a/
lttng-sessiond/futex.c
+++ b/
lttng-sessiond/futex.c
@@
-93,7
+93,7
@@
void futex_nto1_wait(int32_t *futex)
*/
void futex_nto1_wake(int32_t *futex)
{
- if (unlikely(uatomic_read(futex) == -1)) {
+ if (
caa_
unlikely(uatomic_read(futex) == -1)) {
uatomic_set(futex, 0);
futex_async(futex, FUTEX_WAKE, 1, NULL, NULL, 0);
}
This page took
0.035262 seconds
and
5
git commands to generate.