Add FiberManager local type
authorAndrii Grynenko <andrii@fb.com>
Mon, 6 Apr 2015 19:06:58 +0000 (12:06 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Fri, 10 Apr 2015 03:34:09 +0000 (20:34 -0700)
commit0978159b6279d9484a6612c5e46193376fd83820
tree39a2e0e6592b3f555252383f035df19bb1089e1a
parent42caa0b1a3890bcf6b63de9c981bd1c88e02ace5
Add FiberManager local type

Summary: This adds local type for each FiberManager. Only local of given type can be created on fibers of this FiberManager. Locals of other types will be just treated as regualar thread-locals.

Test Plan: unit test

Reviewed By: bwatling@fb.com

Subscribers: folly-diffs@, yfeldblum, chalfant

FB internal diff: D1969739

Signature: t1:1969739:1428345931:aff5deb526c179158e5881b29330ff3f6698149a
folly/AtomicLinkedList.h
folly/experimental/fibers/FiberManager-inl.h
folly/experimental/fibers/FiberManager.cpp
folly/experimental/fibers/FiberManager.h
folly/experimental/fibers/test/FibersTest.cpp