Add comment for the session list lock
authorDavid Goulet <david.goulet@polymtl.ca>
Sat, 16 Jul 2011 19:22:24 +0000 (15:22 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Sat, 16 Jul 2011 19:22:24 +0000 (15:22 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index 46be1b536f319e4644df8c37be70c7d343b21de9..69d5f6b7f1b10feb51463f86aba65f9b1386cbda 100644 (file)
@@ -105,6 +105,8 @@ static pthread_mutex_t kconsumerd_pid_mutex;        /* Mutex to control kconsumerd pid
  * This points to the tracing session list containing the session count and a
  * mutex lock. The lock MUST be taken if you iterate over the list. The lock
  * MUST NOT be taken if you call a public function in session.c.
+ *
+ * The lock is nested inside the structure: session_list_ptr->lock.
  */
 static struct ltt_session_list *session_list_ptr;
 
This page took 0.026921 seconds and 4 git commands to generate.