[glib: 3/4] gtlsdatabase: document that implementations must be thread-safe



commit 27fca3474c7b8d1e7dc0dc5c93981b6bb4c8aca3
Author: Matthew Waters <matthew centricular com>
Date:   Mon Aug 27 21:36:11 2018 +1000

    gtlsdatabase: document that implementations must be thread-safe

 gio/gtlsdatabase.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gio/gtlsdatabase.c b/gio/gtlsdatabase.c
index 5a77b56d7..4725d8c81 100644
--- a/gio/gtlsdatabase.c
+++ b/gio/gtlsdatabase.c
@@ -39,6 +39,9 @@
  * from a certificate or key store. It is an abstract base class which
  * TLS library specific subtypes override.
  *
+ * A #GTlsDatabase may be accessed from multiple threads by the TLS backend.
+ * All implementations are required to be fully thread-safe.
+ *
  * Most common client applications will not directly interact with
  * #GTlsDatabase. It is used internally by #GTlsConnection.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]