1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-09 12:03:04 +00:00

Update janet_interpreter_interrupt to use new atomics

This commit is contained in:
Calvin Rose
2023-10-01 10:52:05 -05:00
parent af7ed4322e
commit 51a75e1872
2 changed files with 3 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ struct JanetVM {
/* If this flag is true, suspend on function calls and backwards jumps.
* When this occurs, this flag will be reset to 0. */
volatile int32_t auto_suspend;
volatile JanetAtomicInt auto_suspend;
/* The current running fiber on the current thread.
* Set and unset by functions in vm.c */