relay: use urcu_ref_get_unless_zero
[lttng-tools.git] / src / bin / lttng-relayd / viewer-stream.h
index 5dc135dc6c4972eb104aec630ca088cbd8ed62fc..3d9b076b75f533bf849e6eb6104fa33307d11f32 100644 (file)
@@ -45,15 +45,14 @@ struct relay_stream;
  */
 struct relay_viewer_stream {
        struct urcu_ref ref;
-       pthread_mutex_t reflock;
 
        /* Back ref to stream. */
        struct relay_stream *stream;
 
        /* FD from which to read the stream data. */
        struct stream_fd *stream_fd;
-       /* FD from which to read the index data. */
-       struct stream_fd *index_fd;
+       /* index file from which to read the index data. */
+       struct lttng_index_file *index_file;
 
        char *path_name;
        char *channel_name;
This page took 0.023918 seconds and 4 git commands to generate.