From: Andrii Grynenko Date: Tue, 25 Apr 2017 03:04:03 +0000 (-0700) Subject: Remove thread-safety comment from EventBaseLocal X-Git-Tag: v2017.05.01.00~14 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=2c3711992f55f2d0a9f0e37b89e1647d26aa5f6d Remove thread-safety comment from EventBaseLocal Reviewed By: vitaut Differential Revision: D4940976 fbshipit-source-id: 0c4ebf8f358e6f54a7b5e81f2e73649b030006c9 --- diff --git a/folly/io/async/EventBaseLocal.h b/folly/io/async/EventBaseLocal.h index f7276375..5b627f0f 100644 --- a/folly/io/async/EventBaseLocal.h +++ b/folly/io/async/EventBaseLocal.h @@ -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