Document the locking assumptions of consumerd-relayd socket passing
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.c
index 826ec35667b1bc88a4acffcf34ed300fc52de2d9..7c8f4e83093590e61ac4d4e565d8d0bc9ba7b5f1 100644 (file)
@@ -987,6 +987,8 @@ error:
 /*
  * Send relayd socket to consumer associated with a session name.
  *
+ * The consumer socket lock must be held by the caller.
+ *
  * On success return positive value. On error, negative value.
  */
 int consumer_send_relayd_socket(struct consumer_socket *consumer_sock,
This page took 0.024304 seconds and 4 git commands to generate.