Remove thread-safety comment from EventBaseLocal
[folly.git] / folly / io / async / EventBaseLocal.h
index f7276375e51ba7696bc05cdca91f03f257027c52..5b627f0f0723836afc8631f793624b51086cc573 100644 (file)
@@ -63,7 +63,8 @@ class EventBaseLocalBase : public EventBaseLocalBaseBase, boost::noncopyable {
  *   Foo& foo = myFoo.getOrCreateFn(evb, [] () { return new Foo(3, 4); })
  *
  * The objects will be deleted when the EventBaseLocal or the EventBase is
- * destructed (whichever comes first).  All methods are thread-safe.
+ * destructed (whichever comes first). All methods must be called from the
+ * EventBase thread.
  *
  * The user is responsible for throwing away invalid references/ptrs returned
  * by the get() method after set/erase is called.  If shared ownership is