1
1

Do not forget to reset the heaqd of the list after a pop operation.

This commit was SVN r8790.
Этот коммит содержится в:
George Bosilca 2006-01-23 19:41:39 +00:00
родитель f4f8abe3bd
Коммит ce1908d4c1

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

@ -92,6 +92,7 @@ static inline opal_list_item_t* opal_atomic_lifo_pop( opal_atomic_lifo_t* lifo )
} while( 1 );
#else
item = lifo->opal_lifo_head;
lifo->opal_lifo_head = (opal_list_item_t*)item->opal_list_next;
#endif /* OMPI_HAVE_THREAD_SUPPORT */
if( item == &(lifo->opal_lifo_ghost) ) return NULL;
item->opal_list_next = NULL;