projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Error handling when sending relayd sockets to consumer
[lttng-tools.git]
/
src
/
common
/
futex.c
diff --git
a/src/common/futex.c
b/src/common/futex.c
index adfe66b1c29feb3295949253f315819c8d110d92..3c18f75fc8be6067f64d2a8fa5c97f54ca130dbc 100644
(file)
--- a/
src/common/futex.c
+++ b/
src/common/futex.c
@@
-49,6
+49,7
@@
* futex() call. If active, we set the value and wake everyone else we indicate
* that we are gone (cleanup() case).
*/
* futex() call. If active, we set the value and wake everyone else we indicate
* that we are gone (cleanup() case).
*/
+__attribute__((visibility("hidden")))
void futex_wait_update(int32_t *futex, int active)
{
if (active) {
void futex_wait_update(int32_t *futex, int active)
{
if (active) {
@@
-65,6
+66,7
@@
void futex_wait_update(int32_t *futex, int active)
/*
* Prepare futex.
*/
/*
* Prepare futex.
*/
+__attribute__((visibility("hidden")))
void futex_nto1_prepare(int32_t *futex)
{
uatomic_set(futex, -1);
void futex_nto1_prepare(int32_t *futex)
{
uatomic_set(futex, -1);
@@
-76,6
+78,7
@@
void futex_nto1_prepare(int32_t *futex)
/*
* Wait futex.
*/
/*
* Wait futex.
*/
+__attribute__((visibility("hidden")))
void futex_nto1_wait(int32_t *futex)
{
cmm_smp_mb();
void futex_nto1_wait(int32_t *futex)
{
cmm_smp_mb();
@@
-90,6
+93,7
@@
void futex_nto1_wait(int32_t *futex)
/*
* Wake 1 futex.
*/
/*
* Wake 1 futex.
*/
+__attribute__((visibility("hidden")))
void futex_nto1_wake(int32_t *futex)
{
if (caa_unlikely(uatomic_read(futex) == -1)) {
void futex_nto1_wake(int32_t *futex)
{
if (caa_unlikely(uatomic_read(futex) == -1)) {
This page took
0.024812 seconds
and
4
git commands to generate.