diff options
author | Max Kellermann <max@duempel.org> | 2013-12-31 15:13:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-31 15:59:41 +0100 |
commit | e73d0df2b6c30d5b6242ef2adead59171f024452 (patch) | |
tree | 5dded7eb30bcd33138a6124efc49c5dff22baeda /src/event/DeferredMonitor.hxx | |
parent | af3f483924b0b2b936f3b9e81e6bb4f215404c7e (diff) | |
download | mpd-e73d0df2b6c30d5b6242ef2adead59171f024452.tar.gz mpd-e73d0df2b6c30d5b6242ef2adead59171f024452.tar.xz mpd-e73d0df2b6c30d5b6242ef2adead59171f024452.zip |
event/*Monitor: document as not being thread-safe
Diffstat (limited to 'src/event/DeferredMonitor.hxx')
-rw-r--r-- | src/event/DeferredMonitor.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/DeferredMonitor.hxx b/src/event/DeferredMonitor.hxx index d4c812e44..96ad5e282 100644 --- a/src/event/DeferredMonitor.hxx +++ b/src/event/DeferredMonitor.hxx @@ -38,6 +38,9 @@ class EventLoop; /** * Defer execution of an event into an #EventLoop. + * + * This class is thread-safe, however the constructor must be called + * from the thread that runs the #EventLoop */ class DeferredMonitor #ifdef USE_INTERNAL_EVENTLOOP |