Clarification of the DEBUG stuff
This commit was SVN r5318.
Этот коммит содержится в:
родитель
3ba515dafb
Коммит
c8c0ad8666
@ -178,9 +178,12 @@ ompi_list_transfer(ompi_list_item_t *pos, ompi_list_item_t *begin,
|
|||||||
begin->ompi_list_prev = tmp;
|
begin->ompi_list_prev = tmp;
|
||||||
#if OMPI_ENABLE_DEBUG
|
#if OMPI_ENABLE_DEBUG
|
||||||
{
|
{
|
||||||
ompi_list_item_t* item = begin;
|
volatile ompi_list_item_t* item = begin;
|
||||||
while( end != item )
|
while( pos != item ) {
|
||||||
item->ompi_list_item_belong_to = pos->ompi_list_item_belong_to;
|
item->ompi_list_item_belong_to = pos->ompi_list_item_belong_to;
|
||||||
|
item = item->ompi_list_next;
|
||||||
|
assert(NULL != item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif /* OMPI_ENABLE_DEBUG */
|
#endif /* OMPI_ENABLE_DEBUG */
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user