q signaling pvm process int pvmsendsig int tid


Q. Signaling PVM process?

  • int pvm_sendsig( int tid, int signum )

Transmits a signal to other PVM process. tid is task identifier of PVM process to receive signal. signum is the signal number.

  • int info = pvm_notify( int what, int msgtag, int cnt, int *tids ) Request notification of PVM event like host failure. What denotes type of event to activate the notification. A number of them are:

PvmTaskExit 

                        Task exits or is killed. 

PvmHostDelete 

                        Host is deleted or crashes. 

PvmHostAdd 

                        New host is added.

msgtag is message tag to be employed in notification. cnt For PvmHostDelete and PvmTaskExit specifies length of tids array. For PvmHostAdd specifies number of times to notify.            

Tids for PvmHostDelete and PvmTaskExit is an array of length cnt of task or pvmd TIDs to be notified about. The array is not used with PvmHostAdd option.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q signaling pvm process int pvmsendsig int tid
Reference No:- TGS0313248

Expected delivery within 24 Hours