Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 7, 2023
1 parent 1de6c8c commit 5eca0c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,8 @@ void re_thread_enter(void)

/* set only for non-re threads */
if (!thrd_equal(re->tid, thrd_current())) {
DEBUG_NOTICE("re_thread_enter: setting THREAD_ENTER to True\n");
DEBUG_NOTICE("re_thread_enter:"
" setting THREAD_ENTER to True\n");
re_atomic_rlx_set(&re->thread_enter, true);
}
}
Expand Down
6 changes: 3 additions & 3 deletions test/remain.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ int test_remain(void)
{
int err = 0;

#if 0
err = test_remain_thread();
if (0) {
err = test_remain_thread();
TEST_ERR(err);
#endif
}

err = test_remain_enterleave();
TEST_ERR(err);
Expand Down

0 comments on commit 5eca0c9

Please sign in to comment.