projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: libc internal mutex races with run_as
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index c8628e8767ba1c6ee263f0f0d44f2b4fc6160748..857201def7d9d35d1228e23e9ed4d2472b4f2088 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-1212,6
+1212,8
@@
void lttng_consumer_cleanup(void)
* it.
*/
lttng_ht_destroy(consumer_data.stream_list_ht);
* it.
*/
lttng_ht_destroy(consumer_data.stream_list_ht);
+
+ run_as_destroy_worker();
}
/*
}
/*
@@
-2356,7
+2358,7
@@
restart:
consumer_del_metadata_stream(stream, metadata_ht);
} else {
ERR("Unexpected poll events %u for sock %d", revents, pollfd);
consumer_del_metadata_stream(stream, metadata_ht);
} else {
ERR("Unexpected poll events %u for sock %d", revents, pollfd);
- rcu_read_unlock;
+ rcu_read_unlock
()
;
goto end;
}
/* Release RCU lock for the stream looked up */
goto end;
}
/* Release RCU lock for the stream looked up */
This page took
0.026445 seconds
and
4
git commands to generate.