为执行上下文创建一个 strand
对象。
template< typename ExecutionContext> strand< typename ExecutionContext::executor_type > make_strand( ExecutionContext & ctx, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value > = 0);
一个执行上下文,将从中获取执行器。
使用执行上下文的执行器构造的 strand,通过执行 ctx.get_executor()
获取。