We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d016c7 commit 8f49405Copy full SHA for 8f49405
src/libAtomVM/opcodesswitch.h
@@ -2539,6 +2539,9 @@ HOT_FUNC int scheduler_entry_point(GlobalContext *glb)
2539
PROCESS_SIGNAL_MESSAGES();
2540
#pragma GCC diagnostic pop
2541
int needs_to_wait = 0;
2542
+ if (context_get_flags(ctx, WaitingTimeoutExpired)) {
2543
+ printf("OP_WAIT -- WaitingTimeoutExpired is already set\n");
2544
+ }
2545
if (context_get_flags(ctx, WaitingTimeout | WaitingTimeoutExpired) == 0) {
2546
if (timeout != INFINITY_ATOM) {
2547
scheduler_set_timeout(ctx, t);
0 commit comments