1
1

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.
Этот коммит содержится в:
Weikuan Yu 2004-07-25 16:15:52 +00:00
родитель e6fead1328
Коммит e6ee369852

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

@ -69,13 +69,14 @@
*/ \ */ \
if(NULL != ptl->ptl_base) { \ if(NULL != ptl->ptl_base) { \
OMPI_THREAD_LOCK(&ptl_base->ptl_cache_lock); \ 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 */ \ /* if cache limit is exceeded - return to global pool */ \
ptl->ptl_request_fini(ptl, sendreq); \ ptl->ptl_request_fini(ptl, sendreq); \
OMPI_FREE_LIST_RETURN( \ OMPI_FREE_LIST_RETURN(&mca_pml_teg.teg_send_requests, \
&mca_pml_teg.teg_send_requests, (ompi_list_item_t*)sendreq); \ (ompi_list_item_t*)sendreq); \
} else { \ } 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); \ OMPI_THREAD_UNLOCK(&ptl_base->ptl_cache_lock); \
} else { \ } else { \