b921831f2b
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> |
||
---|---|---|
.. | ||
Makefile.am | ||
ompi_datatype_args.c | ||
ompi_datatype_create_contiguous.c | ||
ompi_datatype_create_darray.c | ||
ompi_datatype_create_indexed.c | ||
ompi_datatype_create_struct.c | ||
ompi_datatype_create_subarray.c | ||
ompi_datatype_create_vector.c | ||
ompi_datatype_create.c | ||
ompi_datatype_external32.c | ||
ompi_datatype_get_elements.c | ||
ompi_datatype_internal.h | ||
ompi_datatype_match_size.c | ||
ompi_datatype_module.c | ||
ompi_datatype_sndrcv.c | ||
ompi_datatype.h |