Newsgroups: comp.parallel.mpi
From: William Clarke <cmpeng15@chrome.anu.edu.au>
Subject: Re: Ordering of MPI messages in multi-threaded programs
Organization: Australian National University
Date: Wed, 21 Aug 1996 09:22:02 +1000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <321A489A.41C6@chrome.anu.edu.au>

Eric Salo wrote:
[...]
> I was assuming a true multithreaded MPI,
> but one simple way to get thread-safety is to just lock the entire
> library at the beginning of every MPI routine. In such an implementation,
> the example code would in fact hang.

this may be "thread-safe" but it certainly isn't "thread-friendly"!

cheers,
/lib
-- 
Bill Clarke, Faculty of Engineering & IT ANU c9104506@rainbow.anu.edu.au
pinkfloyddeeppurpleklfqueenh&corigami  http://goblet.anu.edu.au/c9104506
drwhostartrek(tos,tng,ds9)x-filescricketvolleyball
asimovbearclarkejordanlackeystasheffxpilotOOPMPPX + home: +61 6 248 6549

