Fix previous patch. In case of different sm base use pointer to tail after
recalculating it. This commit was SVN r13557.
Этот коммит содержится в:
родитель
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;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user