1
1

Fix previous patch. In case of different sm base use pointer to tail after

recalculating it.

This commit was SVN r13557.
Этот коммит содержится в:
Gleb Natapov 2007-02-08 14:59:18 +00:00
родитель 38696e8d32
Коммит 4e5deec496

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

@ -464,7 +464,7 @@ static inline void *ompi_fifo_read_from_tail(ompi_fifo_t *fifo,
/* See the big comment at the top of this file about this /* See the big comment at the top of this file about this
lock. */ lock. */
opal_atomic_lock(&(fifo->fifo_lock)); opal_atomic_lock(&(fifo->fifo_lock));
if(fifo->tail->cb_overflow == true) { if(t_ptr->cb_overflow == true) {
t_ptr->cb_overflow = false; t_ptr->cb_overflow = false;
fifo->tail = t_ptr->next_fifo_wrapper; fifo->tail = t_ptr->next_fifo_wrapper;
} }