Newsgroups: comp.parallel.pvm
From: meyer@mpii02000.ag2.mpi-sb.mpg.de (Christoph Meyer)
Subject: Q: Signal Handling ?
Organization: Universitaet des Saarlandes,Rechenzentrum
Date: 17 Mar 1995 11:20:46 GMT

Hi,

is anybody out there with experience in signal handling
under PVM (3.3.7)?

The problem is:

A master process started several (~6-20) processes with pvm_spawn
and then waits for answers. Some of the processes are running
with very high cpu-load and cannot call a pvm_recv every second or so.
If one child process answers to the master the other child processes
should stop immediately, for instance. But they do not pay attention.
So one solution could be introducing signals with pvm_sendsig
and catching them with the function `signal' from signal.h.

Are there any restrictions using signals under PVM?
For example, can I use PVM commands in the signal handler
even when the signal occurred during another PVM call,
or do I have to ignore signals during PVM calls?

Are there any informations about this theme available?

Thank you very much for help in advance.

Christoph
-- 
Christoph Meyer

