diff options
Diffstat (limited to 'src/event/TimeoutMonitor.hxx')
-rw-r--r-- | src/event/TimeoutMonitor.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/TimeoutMonitor.hxx b/src/event/TimeoutMonitor.hxx index 568aa27ef..9f6b19bc7 100644 --- a/src/event/TimeoutMonitor.hxx +++ b/src/event/TimeoutMonitor.hxx @@ -31,6 +31,10 @@ class EventLoop; /** * This class monitors a timeout. Use Schedule() to begin the timeout * or Cancel() to cancel it. + * + * 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 TimeoutMonitor { #ifdef USE_INTERNAL_EVENTLOOP |