summaryrefslogtreecommitdiff
path: root/lib/locks.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-20 16:34:56 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-20 16:34:56 +0200
commit89d4aeb37f7028a033334361eb14f2bef095dc75 (patch)
tree4733a37aefccd3da1f68501112d4f65431e67689 /lib/locks.c
parentdd7dd9d1382bf4ceda56ec57f8572a005b89acea (diff)
downloadgnutls-89d4aeb37f7028a033334361eb14f2bef095dc75.tar.gz
doc: clarifications on custom thread override [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
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