Skip to content

Commit

Permalink
remove polling check
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 7, 2023
1 parent 5eca0c9 commit 0083702
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,12 +1211,6 @@ void re_thread_enter(void)
return;
}

if (!re_atomic_rlx(&re->polling)) {

DEBUG_NOTICE("re_thread_enter: Not Polling\n");
return;
}

re_lock(re);

/* set only for non-re threads */
Expand All @@ -1240,9 +1234,6 @@ void re_thread_leave(void)
return;
}

if (!re_atomic_rlx(&re->polling))
return;

/* Dummy async event, to ensure timers are properly handled */
if (re->async)
re_thread_async(NULL, NULL, NULL);
Expand Down

0 comments on commit 0083702

Please sign in to comment.