From: Andrii Grynenko Date: Thu, 20 Apr 2017 21:54:37 +0000 (-0700) Subject: EventBaseLocal cleanup X-Git-Tag: v2017.04.24.00~5 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=7de5a995c46b4ef706eda82483fe7d25f33a11ea;hp=7de5a995c46b4ef706eda82483fe7d25f33a11ea EventBaseLocal cleanup 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 ---