From b2a9d15db66be38a71663208e6170b3e1d04e478 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Mon, 17 Jul 2006 17:07:20 +0000 Subject: [PATCH] Broadcast the condition (not signal it) as we add multiple elements to the free list. This commit was SVN r10850. --- ompi/class/ompi_free_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/class/ompi_free_list.h b/ompi/class/ompi_free_list.h index e83cfea27d..add0f150ff 100644 --- a/ompi/class/ompi_free_list.h +++ b/ompi/class/ompi_free_list.h @@ -158,7 +158,7 @@ static inline int __ompi_free_list_wait( ompi_free_list_t* fl, if(ompi_free_list_grow((fl), (fl)->fl_num_per_alloc) == OMPI_SUCCESS) { if( 0 < (fl)->fl_num_waiting ) { - opal_condition_signal(&((fl)->fl_condition)); + opal_condition_broadcast(&((fl)->fl_condition)); } } else { (fl)->fl_num_waiting++;