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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user