(Wangle) Clean up some data races in tests
authorHannes Roth <hannesr@fb.com>
Thu, 25 Jun 2015 15:41:28 +0000 (08:41 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 26 Jun 2015 18:45:38 +0000 (11:45 -0700)
commite51d8547288a38a828a6110eb390fe19cc8be24c
tree68cefd3930a43b891b2707513bb6059676b60623
parentbe98381373e5a727224f9fa74e45a067e67b54f0
(Wangle) Clean up some data races in tests

Summary: Not 100% about the `ThreadWheelTimekeeper` test. It makes TSAN happy
though.

Reviewed By: @yfeldblum

Differential Revision: D2187901
folly/futures/detail/ThreadWheelTimekeeper.cpp
folly/futures/test/TimekeeperTest.cpp
folly/futures/test/ViaTest.cpp