[MPICH] thread safety

lunasole at interfree.it lunasole at interfree.it
Mon Sep 12 03:53:45 CDT 2005


hi all,
MPICH2 includes parts of MPI-2. from README, the sock channel now has preliminary support for MPI_THREAD_SERIALIZED and MPI_THREAD_MULTIPLE on both Unix and Microsoft Windows.  Does it means that the thread safety isn't implemented in Linux?
i implemented a simple example (a process creates 2 threads: one thread that it sends a buffer and an other that it receives this) but it doesn't work. In attached the source file and an example of output.
thank's for you help.


-------------------------------------------------------------------------
Visita http://domini.interfree.it, il sito di Interfree dove trovare
soluzioni semplici e complete che soddisfano le tue esigenze in Internet,
ecco due esempi di offerte:

-  Registrazione Dominio: un dominio con 1 MB di spazio disco +  2 caselle
   email a soli 18,59 euro
-  MioDominio: un dominio con 20 MB di spazio disco + 5 caselle email 
   a soli 51,13 euro

Vieni a trovarci!

Lo Staff di Interfree 
-------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MailThread_main.c
Type: application/octet-stream
Size: 2350 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20050912/3e7f39e9/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output.txt
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20050912/3e7f39e9/attachment.txt>


More information about the mpich-discuss mailing list