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_sendsig - Sends a signal to another PVM process.

Description

       The  routine  pvm_sendsig  sends  the  signal  number  signum  to  the PVM process identified by tid.  If
       pvm_sendsig is successful, info will be 0.  If some error occurs then info will be < 0.

       pvm_sendsig should only be used by programmers  with  Unix  signal  handling  experience.   Many  library
       functions  (and  in  fact the PVM library functions) cannot be called in a signal handler context because
       they do not mask signals or lock internal data structures.

       Further caveat:  the signal numbers passed between systems are not mapped - PVM assumes that signal 9  on
       one system is the same as on another.

Errors

       These error conditions can be returned by pvm_sendsig

       PvmSysErr
              pvmd not responding.

       PvmBadParam
              giving an invalid tid value.

Examples

       C:
            tid = pvm_parent();
            info = pvm_sendsig( tid, SIGKILL);

       Fortran:
            CALL PVMFBUFINFO( BUFID, BYTES, TYPE, TID, INFO );
            CALL PVMFSENDSIG( TID, SIGNUM, INFO )

Name

       pvm_sendsig - Sends a signal to another PVM process.

Parameters

       tid     Integer task identifier of PVM process to receive the signal.

       signum  Integer signal number.

       info    Integer status code returned by the routine.

See Also

                                                 30 August, 1993                                   SENDSIG(3PVM)

Synopsis

Cintinfo=pvm_sendsig(inttid,intsignum)Fortrancallpvmfsendsig(tid,signum,info)

See Also