Add ability to yield execution of the currently running fiber
authorBrian Watling <bwatling@fb.com>
Tue, 7 Apr 2015 12:34:06 +0000 (05:34 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Fri, 10 Apr 2015 03:34:15 +0000 (20:34 -0700)
commit163a570ea0a11a82f1d81288f0314c9f4544cf0a
tree360d298eb9034812217ecf02ea844c47ee0ab5ee
parent7b7e1fc7cd54c50e113c0e62e45dd7142bc256b0
Add ability to yield execution of the currently running fiber

Summary: This diff allows fibers to explicitly yield execution to other fibers and the event loop

Test Plan: unit tests

Reviewed By: andrii@fb.com

Subscribers: folly-diffs@, yfeldblum, chalfant, tao-eng@

FB internal diff: D1965297

Signature: t1:1965297:1428082686:e524e9dd21b3fb951e1d3556e4cb3eedc3e6511a
folly/experimental/fibers/Fiber.h
folly/experimental/fibers/FiberManager-inl.h
folly/experimental/fibers/FiberManager.h