Newsgroups: comp.parallel.pvm
From: e_meier@unibw-hamburg.de (Wilhelm Meier)
Subject: Asynchronous Message Notification / pvm_sendsig()
Organization: University of the Federal Armed Forces, Hamburg
Date: 09 Oct 1995 08:31:35 GMT
Message-ID: <E_MEIER.95Oct9093135@trier.unibw-hamburg.de>


Hello,

I'm trying to build a distributed pvm-application with one task to
show some results and the others doing the real work.

The show-task is a X-application which must be notified that a pvm_message
has arrived. For this purpose I installed an SIGUSR1-handler in the show-task.
The worker-task send messages with results to the show-task and thereafter
send the SIGUSR1-signal with pvm_sendsig(), so the show-task can read the message(s)
and display them. 
But after a few messages from the workers the pvm_sendsig blocks: it sits around
in peer_wait().
What is going wrong - or - is there another method to do the signalling, that
there is a message (other than periodically polling with pvm_nrecv() ?).

Thanks,
Wilhelm
-- 
                             _\\|//_ 
                             ( O-O )
---------------------------o00--(_)--00o------------------------------
Dr.-Ing. Wilhelm Meier		Phone:	(49)(0)40 / 65412524
UniBwH, FB ET			FAX:	(49)(0)40 / 65412822
Holstenhofweg 85		email:	e_meier@unibw-hamburg.de
D-22043	Hamburg, GERMANY	http://www.unibw-hamburg.de/EWEB/ANT/meier.html



