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