summaryrefslogtreecommitdiff
path: root/lib/locks.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locks.c')
-rw-r--r--lib/locks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/locks.c b/lib/locks.c
index 8b94b6c62a..494199a5a1 100644
--- a/lib/locks.c
+++ b/lib/locks.c
@@ -43,6 +43,10 @@
* unless really needed to. GnuTLS will use the appropriate locks for the running
* system.
*
+ * Note that since the move to implicit initialization of GnuTLS on library
+ * load, calling this function will deinitialize the library, and re-initialize
+ * it after the new locking functions are set.
+ *
* This function must be called prior to any other gnutls function.
*
* Since: 2.12.0