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

Operation research, how to implement a modified distribution method using c...

how to implement a modified distribution method using c/c++

How address resolution is performed with table lookup, How address resoluti...

How address resolution is performed with table lookup? Explain with the help of a suitable example. The approach of table lookup to address resolution needs a data structure wh

Explain about the modules of magento, Magento supports installation of modu...

Magento supports installation of modules by a web-based interface accessible by the administration area of a Magento installation. Modules are hosted on the Magento eCommerce websi

Difference between blocking and non-blocking, Difference between blocking a...

Difference between blocking and non-blocking Verilog  language  has  two  forms  of  the  procedural  assignment  statement:  blocking  and  nonblocking. The two are distinguis

Replacement and substitution, Replacement and substitution: However, e...

Replacement and substitution: However, equivalences allow us to change one sentence with another without affecting the meaning, it means we know already that replacing one sid

Flow-between matrix layout problem, Solve the problem in page 346 of the pa...

Solve the problem in page 346 of the paper on cell formation by Boctor using the MIP method.  Use 4 cells and no more than 3 machines per cell. Solve the problem using the MIP m

Convert ascii code to its bcd equivalent, Convert ASCII code to its BCD equ...

Convert ASCII code to its BCD equivalent. This can be achieved by simply replacing bits in upper four bits of byte by four zeros. For illustration the ASCII '1' is 32h = 0010B. By

Describe characteristics needed for an e-commerce server, Describe the addi...

Describe the additional characteristics needed for an e-commerce server? E-commerce services need dynamic configuration abilities and seasonal and every day service configurat

Shared-memory programming model, Q. Shared-memory programming model? In...

Q. Shared-memory programming model? In shared-memory programming model tasks share a common address space that they read and write asynchronously. Several mechanisms like semap

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