We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 010af38 commit 8d773d1Copy full SHA for 8d773d1
src/processes.jl
@@ -56,7 +56,7 @@ end
56
57
function interrupt(proc::Process, cause::Any=nothing)
58
env = environment(proc)
59
- if proc.fsmi != 0xff
+ if proc.fsmi._state != 0xff
60
proc.target isa Initialize && schedule(proc.target; priority=typemax(Int8))
61
target = schedule(Interrupt(env); priority=typemax(Int8), value=InterruptException(active_process(env), cause))
62
@callback execute_interrupt(target, proc)
0 commit comments