Skip to content

Commit

Permalink
Fix missing atomic load
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed Aug 24, 2024
1 parent 6789029 commit 91b601b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ttsafe_semaphore.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ tts_semaphore_pingpong(void)
result = H5TS_thread_join(pong_thread, NULL);
CHECK_I(result, "H5TS_thread_join");

VERIFY(test_info.counter, (NUM_PINGPONG + 1), "ping pong");
VERIFY(H5TS_atomic_load_uint(&test_info.counter), (NUM_PINGPONG + 1), "ping pong");

/* Destroy semaphores, etc. */
result = H5TS_semaphore_destroy(&test_info.ping_sem);
Expand Down

0 comments on commit 91b601b

Please sign in to comment.