Fix: Lock FD tracker across fork
[lttng-ust.git] / liblttng-ust-comm / lttng-ust-fd-tracker.c
index 1bc186bf08453f870001446ebf17dbb0e2ab2054..282895911c65569c6a5050bb859b9e73383c1a5a 100644 (file)
@@ -61,6 +61,9 @@
  * Protect the lttng_fd_set. Nests within the ust_lock, and therefore
  * within the libc dl lock. Therefore, we need to fixup the TLS before
  * nesting into this lock.
+ *
+ * The ust_safe_guard_fd_mutex nests within the ust_mutex. This mutex
+ * is also held across fork.
  */
 static pthread_mutex_t ust_safe_guard_fd_mutex = PTHREAD_MUTEX_INITIALIZER;
 /*
This page took 0.022706 seconds and 4 git commands to generate.