Skip to content

Commit

Permalink
Debug CI failure on Github
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed Apr 17, 2024
1 parent 5f97bd4 commit a36e14e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/H5.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,10 @@ H5_init_library(void)
fprintf(stderr, "%s: Entering\n", __func__);

/* Run the library initialization routine, if it hasn't already run */
if (H5_INIT_GLOBAL || H5_TERM_GLOBAL)
if (H5_INIT_GLOBAL || H5_TERM_GLOBAL) {
fprintf(stderr, "%s: Already initialized\n", __func__);
HGOTO_DONE(SUCCEED);
}

/* Set the 'library initialized' flag as early as possible, to avoid
* possible re-entrancy.
Expand Down
1 change: 1 addition & 0 deletions src/H5TSint.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ H5TS__init(void)
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_PACKAGE_NAMECHECK_ONLY
fprintf(stderr, "%s: Entering\n", __func__);

/* Initialize the global API lock info */
if (H5_UNLIKELY(H5TS_mutex_init(&H5TS_api_info_p.api_mutex, H5TS_MUTEX_TYPE_RECURSIVE) < 0))
Expand Down
1 change: 1 addition & 0 deletions src/H5TSwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ H5TS__win32_process_enter(PINIT_ONCE InitOnce, PVOID Parameter, PVOID *lpContex)
BOOL ret_value = TRUE;

FUNC_ENTER_NOAPI_NAMECHECK_ONLY
fprintf(stderr, "%s: Entering\n", __func__);

/* Initialize H5TS package */
if (H5_UNLIKELY(H5TS__init() < 0))
Expand Down

0 comments on commit a36e14e

Please sign in to comment.