gio: Document that GSocket is not thread safe

https://bugzilla.gnome.org/show_bug.cgi?id=726318
This commit is contained in:
Philip Withnall 2014-04-16 19:03:56 +01:00
parent 7a86a6690a
commit 2b247e1589

View File

@ -117,6 +117,10 @@
* account the fact that your program will not automatically be killed
* if it tries to write to %stdout after it has been closed.
*
* Like most other APIs in GLib, #GSocket is not inherently thread safe. To use
* a #GSocket concurrently from multiple threads, you must implement your own
* locking.
*
* Since: 2.22
*/