1
1

* declare the variable names the same way they were used... At least at

some point, I realized having a variable name "new" might cause some
  problems for those people using a C++ compiler to compile C code ;).

This commit was SVN r8846.
Этот коммит содержится в:
Brian Barrett 2006-01-30 12:16:52 +00:00
родитель f96769e683
Коммит 58f074816d

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

@ -34,7 +34,7 @@ static inline int32_t
create_send_tag(ompi_osc_pt2pt_module_t *module)
{
#if OMPI_HAVE_THREAD_SUPPORT && OPAL_HAVE_ATOMIC_CMPSET_32
int32_t new, old;
int32_t newval, oldval;
do {
oldval = module->p2p_tag_counter;
newval = (oldval + 1) % mca_pml.pml_max_tag;