Fiber-local context
authorAndrii Grynenko <andrii@fb.com>
Fri, 3 Apr 2015 00:17:46 +0000 (17:17 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Fri, 10 Apr 2015 03:33:35 +0000 (20:33 -0700)
commit626aa2ddb890c1eb8ba1f3226d8f8641188e1280
tree65c3d73cf2949811024f1ff2cb25882c84282df2
parent483f7edce871905077d99b975cf006db37e7114b
Fiber-local context

Summary: This adds fiber-local context, which behaves more like static objects+fork rather than thread-locals.

Test Plan: unit test

Reviewed By: pavlo@fb.com, bwatling@fb.com

Subscribers: rushix, alikhtarov, bwatling

FB internal diff: D1958135

Signature: t1:1958135:1427999426:8e4b89f4af53a1a119b2e5a765fb549dd8442c50
folly/experimental/fibers/Fiber-inl.h
folly/experimental/fibers/Fiber.cpp
folly/experimental/fibers/Fiber.h
folly/experimental/fibers/FiberManager-inl.h
folly/experimental/fibers/FiberManager.h
folly/experimental/fibers/test/FibersTest.cpp