Signaling pvm process, Computer Engineering

Assignment Help:

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.


Related Discussions:- Signaling pvm process

Data structure, explain different type of sparse matrix

explain different type of sparse matrix

What is the use of status command, What is the use of status command, data ...

What is the use of status command, data output command, and data input command. A status command is used to test a variety of status conditions in the interface and the periphe

Dma controllers - computer architecture, DMA controllers in computer system...

DMA controllers in computer system:   DMA Controller   Part of the I/O device interface   DMA Channels   Performs functions that in general would be performed by t

Io devices and i/o subsystem and direct memory access, Why IO devices canno...

Why IO devices cannot be connected directly to the system bus? Ans: The IO devices can't be directly connected to the system bus because the following reason A) The data tra

What do you mean by e-cash, What do you mean by E-cash? E-Cash and it...

What do you mean by E-cash? E-Cash and its Properties:  Ecash is cash which is represented by two models. One is the on-line form of e-cash which allows for the completi

Array is a pointer to pointer to int, Array is a pointer-to-pointer-to-int:...

Array is a pointer-to-pointer-to-int: at the first level, it points to a block of pointers, one for each row. That first-level pointer is the first one we allocate; it has nrows e

C++, A palindrome is a string that reads the same from both the ends. Given...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Describe about sole access protocol, Q. Describe about Sole Access Protocol...

Q. Describe about Sole Access Protocol? The atomic operations that have conflicts are handled with the help of sole access protocol. The method used for synchronization in this

What is the motivation for cell design, Question: a) Evary cell in a ce...

Question: a) Evary cell in a cellular network is assigned a band of frequencies. The allocated frequencies are divided into two types of channels. Indentify and describe each t

C++ programming, how does a ohms law c++ programming works

how does a ohms law c++ programming works

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd