Commit 2c371199 authored by Andrii Grynenko's avatar Andrii Grynenko Committed by Facebook Github Bot

Remove thread-safety comment from EventBaseLocal

Reviewed By: vitaut

Differential Revision: D4940976

fbshipit-source-id: 0c4ebf8f358e6f54a7b5e81f2e73649b030006c9
parent 6bfd09a8
...@@ -63,7 +63,8 @@ class EventBaseLocalBase : public EventBaseLocalBaseBase, boost::noncopyable { ...@@ -63,7 +63,8 @@ class EventBaseLocalBase : public EventBaseLocalBaseBase, boost::noncopyable {
* Foo& foo = myFoo.getOrCreateFn(evb, [] () { return new Foo(3, 4); }) * Foo& foo = myFoo.getOrCreateFn(evb, [] () { return new Foo(3, 4); })
* *
* The objects will be deleted when the EventBaseLocal or the EventBase is * 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 * The user is responsible for throwing away invalid references/ptrs returned
* by the get() method after set/erase is called. If shared ownership is * by the get() method after set/erase is called. If shared ownership is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment