@@ -116,7 +116,7 @@ static inline int ompi_osc_pt2pt_put_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, co
116116 int ret ;
117117
118118 /* if we are in active target mode wait until all post messages arrive */
119- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
119+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
120120
121121 ret = ompi_datatype_sndrcv ((void * )source , source_count , source_datatype ,
122122 target , target_count , target_datatype );
@@ -140,7 +140,7 @@ static inline int ompi_osc_pt2pt_get_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, vo
140140 int ret ;
141141
142142 /* if we are in active target mode wait until all post messages arrive */
143- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
143+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
144144
145145 ret = ompi_datatype_sndrcv (source , source_count , source_datatype ,
146146 target , target_count , target_datatype );
@@ -162,7 +162,7 @@ static inline int ompi_osc_pt2pt_cas_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, co
162162 ((unsigned long ) target_disp * module -> disp_unit );
163163
164164 /* if we are in active target mode wait until all post messages arrive */
165- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
165+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
166166
167167 ompi_osc_pt2pt_accumulate_lock (module );
168168
@@ -186,7 +186,7 @@ static inline int ompi_osc_pt2pt_acc_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, co
186186 int ret ;
187187
188188 /* if we are in active target mode wait until all post messages arrive */
189- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
189+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
190190
191191 ompi_osc_pt2pt_accumulate_lock (module );
192192
@@ -336,7 +336,7 @@ static inline int ompi_osc_pt2pt_put_w_req (const void *origin_addr, int origin_
336336
337337 if (is_long_msg ) {
338338 /* wait for eager sends to be active before starting a long put */
339- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
339+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
340340 }
341341
342342 OPAL_OUTPUT_VERBOSE ((50 , ompi_osc_base_framework .framework_output ,
@@ -495,7 +495,7 @@ ompi_osc_pt2pt_accumulate_w_req (const void *origin_addr, int origin_count,
495495
496496 if (is_long_msg ) {
497497 /* wait for synchronization before posting a long message */
498- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
498+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
499499 }
500500
501501 header = (ompi_osc_pt2pt_header_acc_t * ) ptr ;
@@ -802,7 +802,7 @@ static inline int ompi_osc_pt2pt_rget_internal (void *origin_addr, int origin_co
802802
803803 if (!release_req ) {
804804 /* wait for epoch to begin before starting rget operation */
805- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
805+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
806806 }
807807
808808 header = (ompi_osc_pt2pt_header_get_t * ) ptr ;
@@ -968,7 +968,7 @@ int ompi_osc_pt2pt_rget_accumulate_internal (const void *origin_addr, int origin
968968
969969 if (!release_req ) {
970970 /* wait for epoch to begin before starting operation */
971- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
971+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
972972 }
973973
974974 /* optimize the self case. TODO: optimize the local case */
0 commit comments