1
1

--Adapt to the changes of atomic interface

This commit was SVN r2300.
Этот коммит содержится в:
Weikuan Yu 2004-08-25 14:26:16 +00:00
родитель 514f2b7d16
Коммит 2e000b4a1b

Просмотреть файл

@ -442,8 +442,11 @@ mca_ptl_elan_matched (mca_ptl_base_module_t * ptl,
}
/* Process the fragment */
#if 0
set = fetchNset (&((mca_ptl_elan_recv_frag_t *)frag)->frag_progressed, 1);
#else
set = ompi_atomic_fetch_and_set_int (&((mca_ptl_elan_recv_frag_t *)frag)->frag_progressed, 1);
#endif
if (!set) {
/* IN TCP case, IO_VEC is first allocated.
* then recv the data, and copy if needed,