Newsgroups: comp.parallel.pvm
From: Matthieu Exbrayat <exbrayat@lisiflory.insa-lyon.fr>
Subject: Re: Threads and PVM
Organization: C.I.S.M.  Universite Claude Bernard Lyon 1 / INSA de Lyon
Date: Tue, 25 Nov 1997 10:04:42 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <347A94AA.F4CEC8B3@lisiflory.insa-lyon.fr>

Well,

use a mutex in order to have only one thread using PVM at a time.
This hould work.

I use it under Linux. I just use some "monitors " to make my receive +
unpack
and pack + send in monolythic, disjointed blocks of time.

Cheers

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Matthieu EXBRAYAT	   |						~
~ LISI - INSA Lyon	   | e-mail : exbrayat@lisiflory.insa-lyon.fr	~
~ Bat 401		   |						~
~ 20, av. A. Einstein	   | tel : (33) 72 43 84 67			~
~ 69621 Villeurbanne Cedex | 						~
~-----------------------------------------------------------------------~
~	url : http://www.insa-lyon.fr/People/LISI/matthieu		~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

