Commit f6f942be authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by facebook-github-bot-9

CodeMod apache::thrift::async::TEventBase to folly::EventBase (remainder)

Summary: [Thrift] CodeMod `apache::thrift::async::TEventBase` to `folly::EventBase` (remainder).

A few straggler bits left out of D2349828.

Reviewed By: @Gownta

Differential Revision: D2489063
parent 26d9f3f3
...@@ -33,7 +33,7 @@ namespace folly { ...@@ -33,7 +33,7 @@ namespace folly {
* Hashed Hierarchical Wheel Timer * Hashed Hierarchical Wheel Timer
* *
* Comparison: * Comparison:
* TAsyncTimeout - a single timeout. * AsyncTimeout - a single timeout.
* HHWheelTimer - a set of efficient timeouts with different interval, * HHWheelTimer - a set of efficient timeouts with different interval,
* but timeouts are not exact. * but timeouts are not exact.
* *
...@@ -287,7 +287,7 @@ class HHWheelTimer : private folly::AsyncTimeout, ...@@ -287,7 +287,7 @@ class HHWheelTimer : private folly::AsyncTimeout,
HHWheelTimer(HHWheelTimer const &) = delete; HHWheelTimer(HHWheelTimer const &) = delete;
HHWheelTimer& operator=(HHWheelTimer const &) = delete; HHWheelTimer& operator=(HHWheelTimer const &) = delete;
// Methods inherited from TAsyncTimeout // Methods inherited from AsyncTimeout
virtual void timeoutExpired() noexcept; virtual void timeoutExpired() noexcept;
std::chrono::milliseconds interval_; std::chrono::milliseconds interval_;
......
...@@ -79,7 +79,7 @@ class UndelayedDestruction : public TDD { ...@@ -79,7 +79,7 @@ class UndelayedDestruction : public TDD {
* The exact conditions for meeting this may be dependant upon your class * The exact conditions for meeting this may be dependant upon your class
* semantics. Typically you are only guaranteed that it is safe to destroy * semantics. Typically you are only guaranteed that it is safe to destroy
* the object directly from the event loop (e.g., directly from a * the object directly from the event loop (e.g., directly from a
* TEventBase::LoopCallback), or when the event loop is stopped. * EventBase::LoopCallback), or when the event loop is stopped.
*/ */
virtual ~UndelayedDestruction() { virtual ~UndelayedDestruction() {
// Crash if the caller is destroying us with outstanding destructor guards. // Crash if the caller is destroying us with outstanding destructor guards.
......
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