--Adapt to the changes of atomic interface
This commit was SVN r2300.
Этот коммит содержится в:
родитель
514f2b7d16
Коммит
2e000b4a1b
@ -442,8 +442,11 @@ mca_ptl_elan_matched (mca_ptl_base_module_t * ptl,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Process the fragment */
|
/* Process the fragment */
|
||||||
|
#if 0
|
||||||
set = fetchNset (&((mca_ptl_elan_recv_frag_t *)frag)->frag_progressed, 1);
|
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) {
|
if (!set) {
|
||||||
/* IN TCP case, IO_VEC is first allocated.
|
/* IN TCP case, IO_VEC is first allocated.
|
||||||
* then recv the data, and copy if needed,
|
* then recv the data, and copy if needed,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user