gio: Document that GSocket is not thread safe
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 16 Apr 2014 18:03:56 +0000 (19:03 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 16 Apr 2014 18:04:25 +0000 (19:04 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=726318

gio/gsocket.c

index 067431b..6713d0a 100644 (file)
  * 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
  */