To interrupt a running process, use
mp:process-interrupt
, or
mp:process-kill
. To break a process and enter the debugger, use
mp:process-break
.
To suspend a process until a predicate is
t
, use
mp:process-wait
or
mp:process-wait-with-timeout
. The function
mp:process-wait-function
returns a function that specifies a reason for the process waiting.
To control whether or not a process can be interrupted, use
mp:without-preemption
or
mp:without-interrupts
.