faster(sometimes) interrupt-handler for Promise/Future
Summary: Avoid overhead of std::function (virtual fn, possible malloc) when the interrupt msg reaches the core before the interrupt handler (the former in future.raise(), the latter in promise.setInterruptHandler()). Reviewed By: yfeldblum Differential Revision: D7994756 fbshipit-source-id: 58827e7ac320b6585f1a1c3df08932bbe38f91ee
Showing
Please register or sign in to comment