39 template <
class CPUExecutor,
class IOExecutor>
40 void lisp(CPUExecutor cpu, IOExecutor io) {
56 template <
class CPUExecutor,
class IOExecutor>
57 void sugar(CPUExecutor cpu, IOExecutor io) {
73 template <
class CPUExecutor,
class IOExecutor>
74 void pipe(CPUExecutor cpu, IOExecutor io) {
105 lisp(cpuPool.executor(), ioPool.executor());
106 sugar(cpuPool.executor(), ioPool.executor());
107 pipe(cpuPool.executor(), ioPool.executor());
112 std::cout <<
"OK" << std::endl;
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::pipe_fn pipe
requires Invocable< ExecutorFactory & > &&Executor< invoke_result_t< ExecutorFactory & > > &&ConcurrentSequence< invoke_result_t< ExecutorFactory & > > auto strands(ExecutorFactory ef)
PUSHMI_INLINE_VAR constexpr detail::transform_fn transform
PUSHMI_INLINE_VAR constexpr detail::via_fn via
void sugar(CPUExecutor cpu, IOExecutor io)
void lisp(CPUExecutor cpu, IOExecutor io)
void pipe(CPUExecutor cpu, IOExecutor io)