468469470471472473474475476477478
if (pid == null) throw ERT.badarg(p, reason); if (pid == proc.self_handle()) { throw new ErlangExit(reason, proc.self_handle()); } pid.exit_signal(proc.self_handle(), reason, true); return ERT.TRUE;
478479480481482483484
return ERT.TRUE; } @BIF public static EObject exit(EProc self, EObject a1) { throw new ErlangExit(a1, self.self_handle()); }
804805806807808809810811812
public void exit(final EObject reason) { mbox.putb(new EPortControl() { @Override public void execute() throws Pausable, IOException { throw new ErlangExit(reason); } }); }