aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SocketMonitor.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-31 15:13:22 +0100
committerMax Kellermann <max@duempel.org>2013-12-31 15:59:41 +0100
commite73d0df2b6c30d5b6242ef2adead59171f024452 (patch)
tree5dded7eb30bcd33138a6124efc49c5dff22baeda /src/event/SocketMonitor.hxx
parentaf3f483924b0b2b936f3b9e81e6bb4f215404c7e (diff)
downloadmpd-e73d0df2b6c30d5b6242ef2adead59171f024452.tar.gz
mpd-e73d0df2b6c30d5b6242ef2adead59171f024452.tar.xz
mpd-e73d0df2b6c30d5b6242ef2adead59171f024452.zip
event/*Monitor: document as not being thread-safe
Diffstat (limited to 'src/event/SocketMonitor.hxx')
-rw-r--r--src/event/SocketMonitor.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/SocketMonitor.hxx b/src/event/SocketMonitor.hxx
index f6aac2bd6..768f21c57 100644
--- a/src/event/SocketMonitor.hxx
+++ b/src/event/SocketMonitor.hxx
@@ -50,6 +50,10 @@ class EventLoop;
* you're interested in, or Cancel() to cancel your subscription. The
* #EventLoop will invoke virtual method OnSocketReady() as soon as
* any of the subscribed events are ready.
+ *
+ * This class is not thread-safe, all methods must be called from the
+ * thread that runs the #EventLoop, except where explicitly documented
+ * as thread-safe.
*/
class SocketMonitor {
#ifdef USE_GLIB_EVENTLOOP