1
1
openmpi/ompi/datatype
Nathan Hjelm b921831f2b ompi/datatype: make datatype pack thread safe
This commit makes ompi_datatype_get_pack_description thread safe. The
call is used by osc/pt2pt to send the packed description to remote
peers. Before this commit if MPI_THREAD_MULTIPLE is enabled and the
user uses MPI_Put, MPI_Get, etc we could hit a race where multiple
threads attempt to store the packed description on the datatype. Since
the code in question is not performance-critical the threading fix
uses opal_atomic_* calls instead of bothering with OPAL_THREAD_*.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-01-21 17:53:28 -07:00
..
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_datatype_args.c ompi/datatype: make datatype pack thread safe 2016-01-21 17:53:28 -07:00
ompi_datatype_create_contiguous.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_darray.c Fix the missing resize of the returned type for 2015-12-21 09:41:30 +09:00
ompi_datatype_create_indexed.c ddt: duplicate MPI_DATATYPE_NULL when ompi_datatype_create_indexed of ompi_datatype_create_indexed_block is invoked with a zero count 2015-12-08 16:25:36 +09:00
ompi_datatype_create_struct.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_subarray.c Fix the missing resize of the returned type for 2015-12-21 09:41:30 +09:00
ompi_datatype_create_vector.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create.c add pml-specific field in OMPI datatype. 2015-10-20 19:46:06 +03:00
ompi_datatype_external32.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_datatype_get_elements.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_datatype_internal.h ompi/ddt: fix #ifdef vs #if HAVE_xxx 2015-05-26 16:59:36 +09:00
ompi_datatype_match_size.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_module.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_datatype_sndrcv.c coll: do not cast way the const modifier when this is not necessary 2015-09-09 09:18:57 +09:00
ompi_datatype.h add pml-specific field in OMPI datatype. 2015-10-20 19:46:06 +03:00