code: synchronized OtpErlangPid[] remotePids() {
          OtpErlangPid[] ret = null;
          if (count != 0) {
              ret = new OtpErlangPid[count];
              for (int i = 0; i < count; i++) {
                  ret[i] = links[i].remote();
              }
          }
          return ret;
      }
docs: /* all remote pids get notified about failed pid