提交 20171c8d 编写于 作者: D Daniel P. Berrange

Fix comment about GNUTLS initialization/cleanup

上级 4e9bb1df
...@@ -1423,9 +1423,13 @@ void virNetTLSSessionFree(virNetTLSSessionPtr sess) ...@@ -1423,9 +1423,13 @@ void virNetTLSSessionFree(virNetTLSSessionPtr sess)
* virNetTLS* because it initializes * virNetTLS* because it initializes
* underlying GnuTLS library. According to * underlying GnuTLS library. According to
* it's documentation, it's safe to be called * it's documentation, it's safe to be called
* many times, but is not thread safe. Each * many times, but is not thread safe.
* call SHOULD be later followed by *
* virNetTLSContextDeinit. * There is no corresponding "Deinit" / "Cleanup"
* function because there is no safe way to call
* 'gnutls_global_deinit' from a multi-threaded
* library, where other libraries linked into the
* application may also be using gnutls.
*/ */
void virNetTLSInit(void) void virNetTLSInit(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册