Example #1
0
 @BIF
 public static EObject process_info(EObject pid, EObject what) {
   EPID p = pid.testPID();
   if (p == null) throw ERT.badarg(pid, what);
   // TODO: validate WHAT locally before going remote?
   return p.process_info(what);
 }
Example #2
0
 @BIF
 public static EObject process_info(EObject pid) {
   EPID p = pid.testPID();
   if (p == null) throw ERT.badarg(pid);
   return p.process_info();
 }