event/*Monitor: document as not being thread-safe

This commit is contained in:
Max Kellermann
2013-12-31 15:13:22 +01:00
parent af3f483924
commit e73d0df2b6
4 changed files with 15 additions and 0 deletions

View File

@@ -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