logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pvm_parent - Returns the tid of the process that spawned the calling process.

Description

       The  routine  pvm_parent  returns the tid of the process that spawned the calling process. If the calling
       process was not created with pvm_spawn, then tid is set to PvmNoParent.

Errors

       This error condition can be returned by pvm_parent.

       PvmNoParent
              The calling process was not created with pvm_spawn.

       PvmSysErr
              Can't contact local pvmd.

Examples

       C:
            tid = pvm_parent();

       Fortran:
            CALL PVMFPARENT( TID )

Name

       pvm_parent - Returns the tid of the process that spawned the calling process.

Parameters

       tid     Integer returns the task identifier of the parent of the calling process.  If the calling process
               was not created with pvm_spawn, then tid = PvmNoParent.

See Also

                                                 30 August, 1993                                    PARENT(3PVM)

Synopsis

Cinttid=pvm_parent(void)Fortrancallpvmfparent(tid)

See Also