projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
document metadata_switch_timer() deadlock
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index a26a41554d2e379c2e97ad4cca20929627571468..6e99a7f52d0d24ac1473db3f1c2bf12880a8df78 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-1153,6
+1153,7
@@
struct lttng_consumer_local_data *lttng_consumer_create(
ctx->consumer_error_socket = -1;
ctx->consumer_metadata_socket = -1;
+ pthread_mutex_init(&ctx->metadata_socket_lock, NULL);
/* assign the callbacks */
ctx->on_buffer_ready = buffer_ready;
ctx->on_recv_channel = recv_channel;
This page took
0.024232 seconds
and
4
git commands to generate.