Dedupe the implementations of EventBase::runInEventBaseThreadAndWait.
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 6 Feb 2015 19:37:36 +0000 (11:37 -0800)
committerSara Golemon <sgolemon@fb.com>
Wed, 11 Feb 2015 02:01:59 +0000 (18:01 -0800)
commit777002cbfacc305ac58b31e8abe64ed1f032ebbc
treee182311f95eb1a02e2bc6d857423e541b7d4bd56
parent75d52926e0368733c79b55def0801dba6e41ea5e
Dedupe the implementations of EventBase::runInEventBaseThreadAndWait.

Summary: [Folly] Dedupe the implementations of EventBase::runInEventBaseThreadAndWait.

Test Plan:
Unit tests:
* `folly/io/async/test/EventBaseTest.cpp`

Reviewed By: subodh@fb.com

Subscribers: trunkagent, folly-diffs@, yfeldblum, dougw, brettp

FB internal diff: D1826291

Signature: t1:1826291:1423225534:42264d8dcc8adec6b90ac8a3d6ce1f4b98f29297

Blame Revision: D1810764D1823407
folly/io/async/EventBase.cpp
folly/io/async/EventBase.h