File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 12
12
* All rights reserved.
13
13
* Copyright (c) 2006-2014 Los Alamos National Security, LLC. All rights
14
14
* reserved.
15
- * Copyright (c) 2015 Research Organization for Information Science
15
+ * Copyright (c) 2015-2016 Research Organization for Information Science
16
16
* and Technology (RIST). All rights reserved.
17
17
*
18
18
* $COPYRIGHT$
@@ -222,6 +222,8 @@ opal_progress_event_users_increment(void)
222
222
val = opal_atomic_add_32 (& num_event_users , 1 );
223
223
224
224
OPAL_OUTPUT ((debug_output , "progress: event_users_increment setting count to %d" , val ));
225
+ #else
226
+ (void )opal_atomic_add_32 (& num_event_users , 1 );
225
227
#endif
226
228
227
229
#if OPAL_PROGRESS_USE_TIMERS
@@ -237,11 +239,13 @@ opal_progress_event_users_increment(void)
237
239
void
238
240
opal_progress_event_users_decrement (void )
239
241
{
240
- #if OPAL_ENABLE_DEBUG
242
+ #if OPAL_ENABLE_DEBUG || ! OPAL_PROGRESS_USE_TIMERS
241
243
int32_t val ;
242
244
val = opal_atomic_sub_32 (& num_event_users , 1 );
243
245
244
246
OPAL_OUTPUT ((debug_output , "progress: event_users_decrement setting count to %d" , val ));
247
+ #else
248
+ (void )opal_atomic_sub_32 (& num_event_users , 1 );
245
249
#endif
246
250
247
251
#if !OPAL_PROGRESS_USE_TIMERS
You can’t perform that action at this time.
0 commit comments