mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
gio: Document thread safety of the streams API
Specifically, GIOStream and the TLS connection streams. Includes wording adapted from suggestions by Dan Winship <danw@gnome.org>. https://bugzilla.gnome.org/show_bug.cgi?id=735754
This commit is contained in:
@@ -156,6 +156,10 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
||||
* must have pollable input and output streams) which is assumed to
|
||||
* communicate with the server identified by @server_identity.
|
||||
*
|
||||
* See the documentation for #GTlsConnection:base-io-stream for restrictions
|
||||
* on when application code can run operations on the @base_io_stream after
|
||||
* this function has returned.
|
||||
*
|
||||
* Returns: (transfer full) (type GTlsClientConnection): the new
|
||||
* #GTlsClientConnection, or %NULL on error
|
||||
*
|
||||
|
Reference in New Issue
Block a user