EventBaseLocal cleanup
authorAndrii Grynenko <andrii@fb.com>
Thu, 20 Apr 2017 21:54:37 +0000 (14:54 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 20 Apr 2017 22:10:16 +0000 (15:10 -0700)
Summary:
1. Restrict EventBaseLocal API to only be used from EventBase thread to avoid extra locking.
2. Make sure objects stored in EventBaseLocal are destroyed in EventBase thread.

Reviewed By: yfeldblum

Differential Revision: D4918282

fbshipit-source-id: b7cb4c2b62fef85a9b1d796fa71af8af9087479d


No differences found