Examples of self_handle()


Examples of erjang.EProc.self_handle()

   
    proc.link_to(p2);
   
    ERT.run(p2);
   
    return p2.self_handle();
  }

  @BIF
  public static EObject spawn_opt(EProc self, EObject tup) throws Pausable {
    ETuple t;
View Full Code Here

Examples of erjang.EProc.self_handle()

   
    ERef ref = null;
    if (monitor) {
      ref = ERT.getLocalNode().createRef();
     
      if (!self.monitor(p2.self_handle(), p2.self_handle(), ref)) {
        throw new InternalError("cannot monitor new process?");
        // self.mbox_send(ETuple.make(ERT.am_DOWN, ref, p2.self_handle(), ERT.am_noproc));
      }

    }
View Full Code Here

Examples of erjang.EProc.self_handle()

   
    ERef ref = null;
    if (monitor) {
      ref = ERT.getLocalNode().createRef();
     
      if (!self.monitor(p2.self_handle(), p2.self_handle(), ref)) {
        throw new InternalError("cannot monitor new process?");
        // self.mbox_send(ETuple.make(ERT.am_DOWN, ref, p2.self_handle(), ERT.am_noproc));
      }

    }
View Full Code Here

Examples of erjang.EProc.self_handle()

    }
   
    ERT.run(p2);
   
    if (monitor) {
      return new ETuple2(p2.self_handle(), ref);
    } else {
      return p2.self_handle();
    }

  }
View Full Code Here

Examples of erjang.EProc.self_handle()

    ERT.run(p2);
   
    if (monitor) {
      return new ETuple2(p2.self_handle(), ref);
    } else {
      return p2.self_handle();
    }

  }

  @BIF
View Full Code Here

Examples of erjang.EProc.self_handle()

   
    EProc p2 = new EProc(proc.group_leader(), m, f, a);
       
    ERT.run(p2);
   
    return p2.self_handle();
  }
 
  @BIF
  public static EObject halt(EProc proc) {
    return halt(proc, null);
View Full Code Here

Examples of erjang.EProc.self_handle()

  EInternalPID owner_pid() {
    EProc o = owner.get();
    if (o == null)
      throw ERT.badarg();
    return o.self_handle();
  }

  ESeq info() {
    ESeq rep = ERT.NIL;
    ETable table = this;
View Full Code Here

Examples of erjang.driver.EDriverTask.self_handle()

    };

    // two-way link to new owner
    EInternalPID caller_pid = caller.testInternalPID();
    if (caller_pid != null) {
      caller_pid.task().link_oneway(driver.self_handle());
      driver.link_oneway(caller_pid);
    }
    ERT.run(driver);

    return copy;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.