projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a86a66
)
gio: Document that GSocket is not thread safe
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Wed, 16 Apr 2014 18:03:56 +0000
(19:03 +0100)
committer
Philip 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
patch
|
blob
|
history
diff --git
a/gio/gsocket.c
b/gio/gsocket.c
index 067431b78dc344b7162afe59103aba10ce867645..6713d0a0596c8b59e86d7e81ce0861deb12bd92d 100644
(file)
--- a/
gio/gsocket.c
+++ b/
gio/gsocket.c
@@
-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
*/