How to kill threads in Julia?

I run three processes at the same time, executing them through an Ipython laptop. I want to know what is the best way to kill any or all threads whenever I want. I see that interrupting the kernel in a laptop stops process 1.

+4
source share
1 answer

From the Julia documentation:

interrupt([pids...])

Abort the current task in progress for the specified workers. This is equivalent to pressing Ctrl-C on the local computer. If no arguments are given, all workers are aborted.

+2
source

All Articles