Esempio n. 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;
 }
Esempio n. 2
0
void anon_send_exit(const ActorHandle& to, uint32_t reason) {
  anon_send_exit(to.address(), reason);
}
Esempio n. 3
0
 void send_exit(const ActorHandle& dest, uint32_t reason) {
   send_exit(dest.address(), reason);
 }
Esempio n. 4
0
 void send_exit(const ActorHandle& dest, error reason) {
   dest->eq_impl(message_id::make(), nullptr, context(),
                 exit_msg{address(), std::move(reason)});
 }
 void unlink_from(const ActorHandle& whom) {
   unlink_from(whom.address());
 }
 void link_to(const ActorHandle& whom) {
   link_to(whom.address());
 }