{"push_id":945269767,"size":1,"distinct_size":1,"ref":"refs/heads/datatype_pack_threads","head":"b921831f2b9daabf3f52dfde3a866d37e2600960","before":"38a90baf11a1057e437aa830b9a97c3677171e1c","commits":[{"sha":"b921831f2b9daabf3f52dfde3a866d37e2600960","author":{"email":"07b107919bc47895a8b637378595bdacb368c62d@lanl.gov","name":"Nathan Hjelm"},"message":"ompi/datatype: make datatype pack thread safe\n\nThis commit makes ompi_datatype_get_pack_description thread safe. The\ncall is used by osc/pt2pt to send the packed description to remote\npeers. Before this commit if MPI_THREAD_MULTIPLE is enabled and the\nuser uses MPI_Put, MPI_Get, etc we could hit a race where multiple\nthreads attempt to store the packed description on the datatype. Since\nthe code in question is not performance-critical the threading fix\nuses opal_atomic_* calls instead of bothering with OPAL_THREAD_*.\n\nSigned-off-by: Nathan Hjelm <hjelmn@lanl.gov>","distinct":true,"url":"https://api.github.com/repos/hjelmn/ompi/commits/b921831f2b9daabf3f52dfde3a866d37e2600960"}]}