Andrew Kryczka 6584cec8f2 Fold function for thread-local data
Summary:
This function allows the user to provide a custom function to fold all
threads' local data. It will be used in my next diff for aggregating statistics
stored in thread-local data. Note the test case uses atomics as thread-local
values due to the synchronization requirement (documented in code).

Test Plan: unit test

Reviewers: yhchiang, sdong, kradhakrishnan

Reviewed By: kradhakrishnan

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D62049
2016-08-22 15:37:39 -07:00
..
2016-08-19 12:28:19 -07:00
2016-08-19 16:43:31 -07:00
2016-08-19 16:43:31 -07:00
2016-08-19 12:28:19 -07:00
2016-05-06 17:42:50 -07:00
2016-06-01 18:07:59 -07:00
2016-03-17 10:07:21 -07:00
2016-03-17 10:07:21 -07:00
2016-07-15 10:41:36 -07:00
2016-03-11 22:56:25 -08:00
2016-03-15 11:38:15 -07:00
2016-05-23 12:27:27 -07:00
2016-08-19 16:43:31 -07:00
2016-08-19 16:43:31 -07:00
2016-08-17 00:42:35 -07:00
2016-07-08 17:50:51 -07:00
2016-02-17 20:22:40 +08:00
2016-08-17 00:42:35 -07:00
2016-08-19 16:43:31 -07:00
2016-08-19 16:43:31 -07:00
2016-06-10 16:37:36 -07:00
2016-04-01 11:06:06 -07:00