Package jpvm

Examples of jpvm.jpvmTaskStatus


      }
      return ret;
  }

  public jpvmTaskStatus pvm_tasks(jpvmConfiguration conf, int which) {
      jpvmTaskStatus ret = null;
      if(conf==null || which<0 || which>=conf.numHosts)
    return null;

      try {
    jpvmBuffer buf = new jpvmBuffer();
    pvm_send(buf,conf.hostDaemonTids[which],
      jpvmDaemonMessageTag.jpvmdTaskStatus);
    jpvmMessage m = pvm_recv(jpvmDaemonMessageTag.jpvmdTaskStatus);
    ret = new jpvmTaskStatus();
    ret.hostName = conf.hostNames[which];
    ret.numTasks = m.buffer.upkint();
    if(ret.numTasks==0) {
      ret.taskNames = null;
      ret.taskTids = null;
View Full Code Here

TOP

Related Classes of jpvm.jpvmTaskStatus

Copyright © 2018 www.massapicom. 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.