<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>pvm_parent</TITLE>
  <TYPE>Scilab function</TYPE>
  <DATE>May 1998</DATE>
  <SHORT_DESCRIPTION name="pvm_parent"> tid of the process that spawned the calling process.  </SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>tid = pvm_parrent()  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>tid</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: integer, the task identifier of the parent of the calling process.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>pvm_parent</VERB> 
    returns the <VERB>tid</VERB> of the process
    that spawned the calling process.
    If the calling process was
    not created with <VERB>pvm_spawn</VERB>, 
    then <VERB>tid</VERB> is set to
    <VERB>PvmNoParent=-23</VERB></P>
  </DESCRIPTION>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>pvm_spawn</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
