Chain interrupt handlers
authorDave Watson <davejwatson@fb.com>
Thu, 28 May 2015 20:57:27 +0000 (13:57 -0700)
committerNoam Lerner <noamler@fb.com>
Wed, 3 Jun 2015 16:47:54 +0000 (09:47 -0700)
commitfa2487779f809c0283f16dc4fc081e9384beefa6
treed26da6a681b7ab5b66c063bfc6be9d5d571d3987
parentf92ce30d990d2e8d90a056401b8e58459f733409
Chain interrupt handlers

Summary: Chain interrupt handlers in then().  User can always choose to set a new one later.

Test Plan: added unittest

Reviewed By: hans@fb.com

Subscribers: doug, folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D2091569

Signature: t1:2091569:1432760579:ea7afa9b4e62e4b04b4d5f17950b9b7356a57f09
folly/futures/Future-inl.h
folly/futures/detail/Core.h
folly/futures/test/TimekeeperTest.cpp