summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-12-26 18:02:06 +0000
committerSimon Josefsson <simon@josefsson.org>2005-12-26 18:02:06 +0000
commit4f50feabd3455c4b5d9946050204cdf7af2be9b4 (patch)
tree8dad669d724437899352b07e2045c575b248736c
parent3649c545ec5d8a9b851f10404d45cef781c65ef2 (diff)
downloadgnutls-4f50feabd3455c4b5d9946050204cdf7af2be9b4.tar.gz
Add.
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2a1700425f..9645e32de9 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,14 @@ been called as many times as gnutls_global_init() was called.
** Fix crash in TLS resume code, caused by TLS/IA changes.
+** Documentation fixes about thread unsafety, prompted by
+** discussion with bryanh@giraffe-data.com (Bryan Henderson).
+In particular, gnutls_global_init() and gnutls_global_deinit() are not
+thread safe. Careful callers may want to protect the call using a
+mutex. The problem could also be ignored, which would cause a memory
+leak under rare conditions when two threads invoke the function
+roughly at the same time.
+
** The code was indented again, including the external header files.
** API and ABI modifications: