Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 16, 2022
1 parent 00cb453 commit e8a26a5
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/h5_async_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,8 @@ func_leave(const char *func)
return;
}

static inline void func_log(const char* func, const char *name)
static inline void
func_log(const char *func, const char *name)
{
#ifdef ENABLE_DBG_MSG
const char *type = "VOL";
Expand All @@ -981,13 +982,12 @@ static inline void func_log(const char* func, const char *name)
gettimeofday(&now, NULL);

if (async_instance_g && (async_instance_g->mpi_rank == ASYNC_DBG_MSG_RANK || -1 == ASYNC_DBG_MSG_RANK))
fprintf(fout_g, " [ASYNC %s DBG] %ld.%06ld: [%s], push=%d, %s\n",
type, now.tv_sec, now.tv_usec, func, async_instance_g->start_abt_push, name);
fprintf(fout_g, " [ASYNC %s DBG] %ld.%06ld: [%s], push=%d, %s\n", type, now.tv_sec, now.tv_usec,
func, async_instance_g->start_abt_push, name);
#endif
return;
}


/** @defgroup ASYNC
* This group is for async VOL functionalities.
*/
Expand Down Expand Up @@ -1195,9 +1195,9 @@ async_instance_init(int backing_thread_count)

async_init(H5P_DEFAULT);

/* #ifdef ENABLE_DBG_MSG */
/* fprintf(stderr, " [ASYNC VOL DBG] Init Argobots with %d threads\n", backing_thread_count); */
/* #endif */
/* #ifdef ENABLE_DBG_MSG */
/* fprintf(stderr, " [ASYNC VOL DBG] Init Argobots with %d threads\n", backing_thread_count); */
/* #endif */

/* Use mutex to guarentee there is only one Argobots IO instance (singleton) */
abt_ret = ABT_mutex_lock(async_instance_mutex_g);
Expand Down Expand Up @@ -13813,7 +13813,6 @@ async_file_specific(task_list_qtype qtype, async_instance_t *aid, H5VL_async_t *
goto error;
}


func_log(__func__, "finished all previous tasks");

while (acquired == false && mutex_count > 0) {
Expand Down

0 comments on commit e8a26a5

Please sign in to comment.