Modified some of lines to be 76 columns only to fit 80x24 screens.
A minor point to folks who like long lines: Our coding style is shiftwidth=4 textwidth=76 This commit was SVN r1801.
Этот коммит содержится в:
родитель
e6fead1328
Коммит
e6ee369852
@ -69,13 +69,14 @@
|
||||
*/ \
|
||||
if(NULL != ptl->ptl_base) { \
|
||||
OMPI_THREAD_LOCK(&ptl_base->ptl_cache_lock); \
|
||||
if(ompi_list_get_size(&ptl_base->ptl_cache) >= ptl_base->ptl_cache_size) { \
|
||||
if(ompi_list_get_size(&ptl_base->ptl_cache) >= ptl_base->ptl_cache_) {\
|
||||
/* if cache limit is exceeded - return to global pool */ \
|
||||
ptl->ptl_request_fini(ptl, sendreq); \
|
||||
OMPI_FREE_LIST_RETURN( \
|
||||
&mca_pml_teg.teg_send_requests, (ompi_list_item_t*)sendreq); \
|
||||
OMPI_FREE_LIST_RETURN(&mca_pml_teg.teg_send_requests, \
|
||||
(ompi_list_item_t*)sendreq); \
|
||||
} else { \
|
||||
ompi_list_prepend(&ptl_base->ptl_cache, (ompi_list_item_t*)sendreq); \
|
||||
ompi_list_prepend(&ptl_base->ptl_cache, \
|
||||
(ompi_list_item_t*)sendreq); \
|
||||
} \
|
||||
OMPI_THREAD_UNLOCK(&ptl_base->ptl_cache_lock); \
|
||||
} else { \
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user