コード例 #1
0
 inline ActorHandle eval_opts(spawn_options opts, ActorHandle res) {
   if (has_monitor_flag(opts))
     monitor(res->address());
   if (has_link_flag(opts))
     link_to(res->address());
   return res;
 }
コード例 #2
0
constexpr bool is_unbound(spawn_options opts) {
  return !has_monitor_flag(opts) && !has_link_flag(opts);
}