From b1ed78ed0ea72a270dda303181d310f66874c858 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 20 Jan 2025 20:27:56 +0800 Subject: [PATCH] ... --- include/pocketpy/interpreter/vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/interpreter/vm.h b/include/pocketpy/interpreter/vm.h index 2d800c82..678cdd20 100644 --- a/include/pocketpy/interpreter/vm.h +++ b/include/pocketpy/interpreter/vm.h @@ -28,7 +28,7 @@ typedef struct VM { py_TValue last_retval; py_TValue curr_exception; - bool is_signal_interrupted; + volatile bool is_signal_interrupted; bool is_curr_exc_handled; // handled by try-except block but not cleared yet py_TValue reg[8]; // users' registers