1
1

Use free list get instead of wait; this is a constrained resource that will never come back, as it scales with the number of windows and not some more dynamic resources...

This commit was SVN r24685.
Этот коммит содержится в:
Brian Barrett 2011-05-05 17:19:59 +00:00
родитель d1d2cd0a87
Коммит 8376e0e507

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

@ -391,7 +391,7 @@ ompi_osc_pt2pt_component_select(ompi_win_t *win,
opal_atomic_mb();
/* start up receive for protocol headers */
OPAL_FREE_LIST_WAIT(&mca_osc_pt2pt_component.p2p_c_buffers,
OPAL_FREE_LIST_GET(&mca_osc_pt2pt_component.p2p_c_buffers,
item, ret);
if (OMPI_SUCCESS != ret) goto cleanup;