Is there a way to kill/cancel a thread in Zig?

Don’t do this.

Java found out the hard way and actually deprecated Thread.stop().

Learn from the mistakes of your elders. :slight_smile:

1 Like