Docs: Missing locking assumptions in function headers
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Mar 2016 20:33:22 +0000 (15:33 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Mar 2016 20:33:22 +0000 (15:33 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/session.c

index bb8a55ed78e162d6acd27d074b3e4cb0ff4988df..e57463d3e58777eb78612c78c4c77da4296d73dc 100644 (file)
@@ -143,6 +143,8 @@ void session_unlock_list(void)
 
 /*
  * Allocate the ltt_sessions_ht_by_id HT.
+ *
+ * The session list lock must be held.
  */
 int ltt_sessions_ht_alloc(void)
 {
@@ -161,6 +163,8 @@ end:
 
 /*
  * Destroy the ltt_sessions_ht_by_id HT.
+ *
+ * The session list lock must be held.
  */
 void ltt_sessions_ht_destroy(void)
 {
This page took 0.025774 seconds and 4 git commands to generate.