DLR-FT/wasm-interpreter

add handbrake via AtomicBool

Open

#141 opened on Mar 17, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (5 forks)auto 404
enhancementexecutiongood first issuepriority-low

Repository metrics

Stars
 (37 stars)
PR merge metrics
 (PR metrics pending)

Description

I foresee an opt-int feature where there is an AtomicBool passed via reference to the interpreter_loop function. When activated (set to true), it causes the execution to yield with a resumable state. This provides another way to implement preemption, without having to tap into fuel, one simply has to set that bool to true e.g. via interrupt.

Contributor guide